]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Use QStringLiteral
authorLaurent Montel <montel@kde.org>
Tue, 11 Oct 2022 06:58:50 +0000 (08:58 +0200)
committerLaurent Montel <montel@kde.org>
Tue, 11 Oct 2022 06:58:50 +0000 (08:58 +0200)
src/kitemviews/kfileitemlistview.cpp

index adcc2d79375a74e73cd8d3e5f7b894963cd060d6..26bc014653e555c5d375fbcfa0a0060fa7a0aee8 100644 (file)
@@ -185,7 +185,7 @@ QPixmap KFileItemListView::createDragPixmap(const KItemSet& indexes) const
         if (pixmap.isNull()) {
             QIcon icon = QIcon::fromTheme(model()->data(index).value("iconName").toString());
             if (icon.isNull()) {
-                icon = QIcon::fromTheme("unknown");
+                icon = QIcon::fromTheme(QStringLiteral("unknown"));
             }
             if (!icon.isNull()) {
                 pixmap = icon.pixmap(size, size);