summaryrefslogtreecommitdiff
path: root/src/designer/src/components/tabordereditor/tabordereditor_plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/designer/src/components/tabordereditor/tabordereditor_plugin.cpp')
-rw-r--r--src/designer/src/components/tabordereditor/tabordereditor_plugin.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/designer/src/components/tabordereditor/tabordereditor_plugin.cpp b/src/designer/src/components/tabordereditor/tabordereditor_plugin.cpp
index 84f9e4702..2fe3a4212 100644
--- a/src/designer/src/components/tabordereditor/tabordereditor_plugin.cpp
+++ b/src/designer/src/components/tabordereditor/tabordereditor_plugin.cpp
@@ -12,6 +12,8 @@
QT_BEGIN_NAMESPACE
+using namespace Qt::StringLiterals;
+
namespace qdesigner_internal {
TabOrderEditorPlugin::TabOrderEditorPlugin() = default;
@@ -28,9 +30,9 @@ void TabOrderEditorPlugin::initialize(QDesignerFormEditorInterface *core)
Q_ASSERT(!isInitialized());
m_action = new QAction(tr("Edit Tab Order"), this);
- m_action->setObjectName(QStringLiteral("_qt_edit_tab_order_action"));
- QIcon icon = QIcon::fromTheme(QStringLiteral("designer-edit-tabs"),
- QIcon(core->resourceLocation() + QStringLiteral("/tabordertool.png")));
+ m_action->setObjectName(u"_qt_edit_tab_order_action"_s);
+ QIcon icon = QIcon::fromTheme(u"designer-edit-tabs"_s,
+ QIcon(core->resourceLocation() + "/tabordertool.png"_L1));
m_action->setIcon(icon);
m_action->setEnabled(false);