mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
Use QStringLiteral
This commit is contained in:
parent
a50cc58e1b
commit
a490a6625b
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue