summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/uic/baseline/dialog.ui.h
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2018-07-13 09:02:14 +0000
committerJarek Kobus <jaroslaw.kobus@qt.io>2018-07-19 12:38:45 +0000
commitff18b02f21a04f7092b58be04be5a40df3ef993b (patch)
tree66c268bc6bab9c38f27c682f0a3fd4093080da97 /tests/auto/tools/uic/baseline/dialog.ui.h
parent519fcb38a2b9e2c4490e8a3c740ad43227a71b77 (diff)
uic: Revert the microoptimization patch introducing QStringLiteral
This reverts the following commits: d12d2949d1e4ac08a47928ef27bc45459b3fb104 26c3bec09bccf9006f5ef4945a428d9ef56c1d12 49b08f96e824f49fab9aa5c9a1a0ed582d4558bb We can't easily predict all code paths for QDesigner with such a microoptimization. We also don't want to generate three different string constructions depending on some sophisticated heuristics. [ChangeLog][uic] The -no-stringliteral option is now deprecated and UIC will not generate QStringLiteral anymore. Task-number: QTBUG-65251 Task-number: QTBUG-51602 Change-Id: I34a5a1934a8df19c5c84ac2ba8e5168ce5665037 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/tools/uic/baseline/dialog.ui.h')
-rw-r--r--tests/auto/tools/uic/baseline/dialog.ui.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/tools/uic/baseline/dialog.ui.h b/tests/auto/tools/uic/baseline/dialog.ui.h
index 1aa41c2ac8..2a159312b9 100644
--- a/tests/auto/tools/uic/baseline/dialog.ui.h
+++ b/tests/auto/tools/uic/baseline/dialog.ui.h
@@ -29,24 +29,24 @@ public:
void setupUi(QDialog *Dialog)
{
if (Dialog->objectName().isEmpty())
- Dialog->setObjectName(QStringLiteral("Dialog"));
+ Dialog->setObjectName(QString::fromUtf8("Dialog"));
Dialog->resize(451, 322);
gridLayout = new QGridLayout(Dialog);
- gridLayout->setObjectName(QStringLiteral("gridLayout"));
+ gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
loadFromFileButton = new QPushButton(Dialog);
- loadFromFileButton->setObjectName(QStringLiteral("loadFromFileButton"));
+ loadFromFileButton->setObjectName(QString::fromUtf8("loadFromFileButton"));
gridLayout->addWidget(loadFromFileButton, 0, 0, 1, 1);
label = new QLabel(Dialog);
- label->setObjectName(QStringLiteral("label"));
+ label->setObjectName(QString::fromUtf8("label"));
label->setAlignment(Qt::AlignCenter);
label->setWordWrap(true);
gridLayout->addWidget(label, 1, 0, 1, 1);
loadFromSharedMemoryButton = new QPushButton(Dialog);
- loadFromSharedMemoryButton->setObjectName(QStringLiteral("loadFromSharedMemoryButton"));
+ loadFromSharedMemoryButton->setObjectName(QString::fromUtf8("loadFromSharedMemoryButton"));
gridLayout->addWidget(loadFromSharedMemoryButton, 2, 0, 1, 1);