summaryrefslogtreecommitdiff
path: root/src/designer/src/components/signalsloteditor/connectdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/designer/src/components/signalsloteditor/connectdialog.cpp')
-rw-r--r--src/designer/src/components/signalsloteditor/connectdialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/designer/src/components/signalsloteditor/connectdialog.cpp b/src/designer/src/components/signalsloteditor/connectdialog.cpp
index 3edd9eb27..032e33f7a 100644
--- a/src/designer/src/components/signalsloteditor/connectdialog.cpp
+++ b/src/designer/src/components/signalsloteditor/connectdialog.cpp
@@ -17,6 +17,8 @@
QT_BEGIN_NAMESPACE
+using namespace Qt::StringLiterals;
+
static QString realClassName(QDesignerFormEditorInterface *core, QWidget *widget)
{
QString class_name = QLatin1String(widget->metaObject()->className());
@@ -29,7 +31,7 @@ static QString realClassName(QDesignerFormEditorInterface *core, QWidget *widget
static QString widgetLabel(QDesignerFormEditorInterface *core, QWidget *widget)
{
- return QString::fromUtf8("%1 (%2)")
+ return "%1 (%2)"_L1
.arg(qdesigner_internal::realObjectName(core, widget),
realClassName(core, widget));
}