summaryrefslogtreecommitdiffstats
path: root/tools/dumpcpp/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dumpcpp/main.cpp')
-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;