diff options
author | Tim Jenssen <tim.jenssen@nokia.com> | 2011-09-05 15:56:59 +0200 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@nokia.com> | 2011-09-05 16:32:02 +0200 |
commit | 44dca812d11472fafc540ced55e281921ac4ea7f (patch) | |
tree | 3d0c202ba44de403701cdc7ef908417d05dd99c6 /installerbuilder | |
parent | c73d7ea1aa9958ad1ffaf86e78a045cf010e2f1b (diff) |
fix QTSDK-873
- argument check in the uninstaller case was wrong
Change-Id: Icaf56465f88037feb3eb3c0415d02146f9b59fe9
Reviewed-on: http://codereview.qt.nokia.com/4211
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Diffstat (limited to 'installerbuilder')
-rw-r--r-- | installerbuilder/libinstaller/registerdefaultdebuggeroperation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installerbuilder/libinstaller/registerdefaultdebuggeroperation.cpp b/installerbuilder/libinstaller/registerdefaultdebuggeroperation.cpp index c974fc888..337665398 100644 --- a/installerbuilder/libinstaller/registerdefaultdebuggeroperation.cpp +++ b/installerbuilder/libinstaller/registerdefaultdebuggeroperation.cpp @@ -126,7 +126,7 @@ bool RegisterDefaultDebuggerOperation::undoOperation() { const QStringList args = arguments(); - if (args.count() == 2) { + if (args.count() != 2) { setError(InvalidArguments); setErrorString(tr("Invalid arguments in %0: %1 arguments given, 2 expected.") .arg(name()).arg(args.count())); |