aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/ssh/sshconnection.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2017-05-22 12:03:41 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2017-05-22 10:51:40 +0000
commit34702f8441cf890e08cbea91760615c188eac34d (patch)
treeceb8d703b8f18e02bb70189c36bcfeb64426ff1f /src/libs/ssh/sshconnection.h
parent9b3ad89dcd7399c59a178f2d66b924432c999985 (diff)
SSH: Fix enum values
Newly introduced enum values need to get a higher value than the existing ones of the same type. Otherwise such values will be interpreted wrongly when loaded from settings created by earlier versions of Qt Creator. Task-number: QTCREATORBUG-18235 Change-Id: I0f8497352d1ef382b5c8a65db4e1dea20b6296da Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/libs/ssh/sshconnection.h')
-rw-r--r--src/libs/ssh/sshconnection.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libs/ssh/sshconnection.h b/src/libs/ssh/sshconnection.h
index 7779192cdb..0e90dce3f8 100644
--- a/src/libs/ssh/sshconnection.h
+++ b/src/libs/ssh/sshconnection.h
@@ -65,11 +65,12 @@ public:
enum AuthenticationType {
AuthenticationTypePassword,
AuthenticationTypePublicKey,
- AuthenticationTypeAgent,
AuthenticationTypeKeyboardInteractive,
// Some servers disable "password", others disable "keyboard-interactive".
- AuthenticationTypeTryAllPasswordBasedMethods
+ AuthenticationTypeTryAllPasswordBasedMethods,
+
+ AuthenticationTypeAgent,
};
SshConnectionParameters();