diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2017-05-22 12:03:41 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2017-05-22 10:51:40 +0000 |
commit | 34702f8441cf890e08cbea91760615c188eac34d (patch) | |
tree | ceb8d703b8f18e02bb70189c36bcfeb64426ff1f /src/libs/ssh | |
parent | 9b3ad89dcd7399c59a178f2d66b924432c999985 (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')
-rw-r--r-- | src/libs/ssh/sshconnection.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libs/ssh/sshconnection.h b/src/libs/ssh/sshconnection.h index 7779192cdbb..0e90dce3f85 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(); |