QmlDesigner: Make it easier to add new arguments to the puppet

Change-Id: I15bc4a1a431787e350ace9fa09d8c140d06a7ed6
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Marco Bubke
2013-05-30 15:30:39 +02:00
parent cacc6b2971
commit 7784baf54f
2 changed files with 4 additions and 2 deletions
@@ -82,8 +82,10 @@ int main(int argc, char *argv[])
return 0;
}
if (application.arguments().count() != 4)
if (application.arguments().count() < 4) {
qDebug() << "Wrong argument count: " << application.arguments().count();
return -1;
}
@@ -64,7 +64,7 @@ int main(int argc, char *argv[])
return 0;
}
if (application.arguments().count() != 4)
if (application.arguments().count() < 4)
return -1;
#ifdef ENABLE_QT_BREAKPAD