summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@qt.io>2017-06-19 08:19:44 +0200
committerOswald Buddenhagen <oswald.buddenhagen@qt.io>2017-06-19 08:19:44 +0200
commitdacebaf25a4ac9c82a62fed9f94ca57ce59affa6 (patch)
tree1d15e2d944f8bbd4589c3f38f8517247fc2ab07c
parentd5ecc272b65742fb48efd305086f42302fc3d924 (diff)
parentcd2e41ee7935c515addfd3128824ffd0a53aaf5a (diff)
Merge 5.9 into 5.9.1v5.9.1
-rw-r--r--tools/dumpcpp/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/dumpcpp/main.cpp b/tools/dumpcpp/main.cpp
index 97915c1..1f0cca8 100644
--- a/tools/dumpcpp/main.cpp
+++ b/tools/dumpcpp/main.cpp
@@ -196,11 +196,11 @@ void generateClassDecl(QTextStream &out, const QString &controlID, const QMetaOb
out << " internalRelease();" << endl;
else if (category & Licensed) {
out << " if (licenseKey.isEmpty())" << endl;
- out << " setControl(\"" << controlID << "\");" << endl;
+ out << " setControl(QStringLiteral(\"" << controlID << "\"));" << endl;
out << " else" << endl;
- out << " setControl(\"" << controlID << ":\" + licenseKey);" << endl;
+ out << " setControl(QStringLiteral(\"" << controlID << ":\" + licenseKey));" << endl;
} else {
- out << " setControl(\"" << controlID << "\");" << endl;
+ out << " setControl(QStringLiteral(\"" << controlID << "\"));" << endl;
}
out << " }" << endl;
out << endl;