OSDN Git Service

RemoteLinux: Fix wizard bug.
authorChristian Kandeler <christian.kandeler@nokia.com>
Wed, 13 Jul 2011 13:35:42 +0000 (15:35 +0200)
committerChristian Kandeler <christian.kandeler@nokia.com>
Wed, 13 Jul 2011 13:36:36 +0000 (15:36 +0200)
A condition was accidentally logically inverted.

Change-Id: Ib74cc55e74a46d6fab3fcb82d00f391ce57c9f79
Reviewed-on: http://codereview.qt.nokia.com/1599
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
src/plugins/remotelinux/genericlinuxdeviceconfigurationwizardpages.cpp

index 5110270..9876010 100644 (file)
@@ -80,7 +80,7 @@ bool GenericLinuxDeviceConfigurationWizardSetupPage::isComplete() const
 {
     return !configurationName().isEmpty() && !hostName().isEmpty() && !userName().isEmpty()
             && (authenticationType() == SshConnectionParameters::AuthenticationByPassword
-                || !m_d->ui.privateKeyPathChooser->isValid());
+                || m_d->ui.privateKeyPathChooser->isValid());
 }
 
 QString GenericLinuxDeviceConfigurationWizardSetupPage::configurationName() const