summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@theqtcompany.com>2015-01-20 17:49:31 +0100
committerTobias Hunger <tobias.hunger@theqtcompany.com>2015-01-21 12:11:18 +0100
commit01699e9f256c23bfc5bef1691c5dd029ab8241f7 (patch)
tree30ce85a990cd3c15e3ce54245ec15bef8a671c7c /src
parent8bb176d2ec2f104e1cdf6c7f1478ad261349d5cf (diff)
downloadqt-creator-01699e9f256c23bfc5bef1691c5dd029ab8241f7.tar.gz
JsonWizard: Allow for wizards without generators
The Checkout wizard will not feature any generator. Change-Id: I05900309a5ea8a638493ab0fa5499759bcdc181f Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/projectexplorer/jsonwizard/jsonwizardfactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/jsonwizard/jsonwizardfactory.cpp b/src/plugins/projectexplorer/jsonwizard/jsonwizardfactory.cpp
index c8d8acca67..25625d6360 100644
--- a/src/plugins/projectexplorer/jsonwizard/jsonwizardfactory.cpp
+++ b/src/plugins/projectexplorer/jsonwizard/jsonwizardfactory.cpp
@@ -557,7 +557,7 @@ bool JsonWizardFactory::initialize(const QVariantMap &data, const QDir &baseDir,
// Generator:
QVariantList list = objectOrList(data.value(QLatin1String(GENERATOR_KEY)), errorMessage);
- if (list.isEmpty()) {
+ if (!errorMessage->isEmpty()) {
*errorMessage = tr("When parsing \"generators\": %1").arg(*errorMessage);
return false;
}