]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/dolphinfileitemlistwidget.cpp
Merge branch 'Applications/18.08'
[dolphin.git] / src / views / dolphinfileitemlistwidget.cpp
index f152308410ceeaf1769a2e780ad3ecffc7b4d57d..3a1572de9d48ee289a2dd59ecbdbe5bd6de98127 100644 (file)
 
 #include "dolphinfileitemlistwidget.h"
 
-#include <QIcon>
-#include <KIconLoader>
-#include <QColor>
-
 #include "dolphindebug.h"
 
+#include <KIconLoader>
+
 DolphinFileItemListWidget::DolphinFileItemListWidget(KItemListWidgetInformant* informant,
                                                      QGraphicsItem* parent) :
     KFileItemListWidget(informant, parent)
@@ -93,25 +91,25 @@ QPixmap DolphinFileItemListWidget::overlayForState(KVersionControlPlugin::ItemVe
     QString iconName;
     switch (version) {
     case KVersionControlPlugin::NormalVersion:
-        iconName = "vcs-normal";
+        iconName = QStringLiteral("vcs-normal");
         break;
     case KVersionControlPlugin::UpdateRequiredVersion:
-        iconName = "vcs-update-required";
+        iconName = QStringLiteral("vcs-update-required");
         break;
     case KVersionControlPlugin::LocallyModifiedVersion:
-        iconName = "vcs-locally-modified";
+        iconName = QStringLiteral("vcs-locally-modified");
         break;
     case KVersionControlPlugin::LocallyModifiedUnstagedVersion:
-        iconName = "vcs-locally-modified-unstaged";
+        iconName = QStringLiteral("vcs-locally-modified-unstaged");
         break;
     case KVersionControlPlugin::AddedVersion:
-        iconName = "vcs-added";
+        iconName = QStringLiteral("vcs-added");
         break;
     case KVersionControlPlugin::RemovedVersion:
-        iconName = "vcs-removed";
+        iconName = QStringLiteral("vcs-removed");
         break;
     case KVersionControlPlugin::ConflictingVersion:
-        iconName = "vcs-conflicting";
+        iconName = QStringLiteral("vcs-conflicting");
         break;
     case KVersionControlPlugin::UnversionedVersion:
     case KVersionControlPlugin::IgnoredVersion: