diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-03-21 14:30:40 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-04-13 10:48:34 +0200 |
commit | c59546f2782fa1a7add12dfdf4c4a32951608f29 (patch) | |
tree | 019a6f444ae6be24ca3cbc79c804021e60b30d1c /src/designer/src/components/taskmenu/itemlisteditor.cpp | |
parent | 3e3146a35e2f1c719c87094b58a2cc8e2bc3ea2c (diff) |
Qt Designer: Replace QString::fromUtf8() by modern literals
Pick-to: 6.5
Change-Id: If0aff3c1a767e6830f5480f57dfe82a66feb124c
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/designer/src/components/taskmenu/itemlisteditor.cpp')
-rw-r--r-- | src/designer/src/components/taskmenu/itemlisteditor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/designer/src/components/taskmenu/itemlisteditor.cpp b/src/designer/src/components/taskmenu/itemlisteditor.cpp index 668769ef5..4fa4f1248 100644 --- a/src/designer/src/components/taskmenu/itemlisteditor.cpp +++ b/src/designer/src/components/taskmenu/itemlisteditor.cpp @@ -273,10 +273,10 @@ ItemListEditor::ItemListEditor(QDesignerFormWindowInterface *form, QWidget *pare this, &ItemListEditor::togglePropertyBrowser); setPropertyBrowserVisible(false); - QIcon upIcon = createIconSet(QString::fromUtf8("up.png")); - QIcon downIcon = createIconSet(QString::fromUtf8("down.png")); - QIcon minusIcon = createIconSet(QString::fromUtf8("minus.png")); - QIcon plusIcon = createIconSet(QString::fromUtf8("plus.png")); + QIcon upIcon = createIconSet(u"up.png"_s); + QIcon downIcon = createIconSet(u"down.png"_s); + QIcon minusIcon = createIconSet(u"minus.png"_s); + QIcon plusIcon = createIconSet(u"plus.png"_s); ui.moveListItemUpButton->setIcon(upIcon); ui.moveListItemDownButton->setIcon(downIcon); ui.newListItemButton->setIcon(plusIcon); |