diff options
author | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2018-04-19 11:08:14 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2018-04-20 10:35:41 +0000 |
commit | cce62153d5394030d3fe74222e884d163247599e (patch) | |
tree | 8b17a29aa7c8af1a9556b1252136562824a33435 /tools | |
parent | c095e6ad6f5dbf7bb7082ab822aaa114f83ccc44 (diff) |
dumpcpp: fix generated string literal
reported by 'olehs' on github.
Change-Id: If07cf9b9b753d46513a80aa2d854d0b55b27dcff
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/dumpcpp/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dumpcpp/main.cpp b/tools/dumpcpp/main.cpp index 8a37f33..60a1d56 100644 --- a/tools/dumpcpp/main.cpp +++ b/tools/dumpcpp/main.cpp @@ -198,7 +198,7 @@ void generateClassDecl(QTextStream &out, const QString &controlID, const QMetaOb out << " if (licenseKey.isEmpty())" << endl; out << " setControl(QStringLiteral(\"" << controlID << "\"));" << endl; out << " else" << endl; - out << " setControl(QStringLiteral(\"" << controlID << ":\" + licenseKey));" << endl; + out << " setControl(QStringLiteral(\"" << controlID << ":\") + licenseKey);" << endl; } else { out << " setControl(QStringLiteral(\"" << controlID << "\"));" << endl; } |