diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-10-08 09:29:47 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-10-08 09:29:47 (GMT) |
commit | 0f9c8582993b0714ed07366808bfccc97c35cc52 (patch) | |
tree | 8e10a0092675a331e0e63ea59d02c1e802e74b08 /Swift/QtUI | |
parent | db39286d0f762d84f78a55bda6f70ea0d29229ba (diff) | |
download | swift-0f9c8582993b0714ed07366808bfccc97c35cc52.zip swift-0f9c8582993b0714ed07366808bfccc97c35cc52.tar.bz2 |
Also disable certificate selection during login.
Diffstat (limited to 'Swift/QtUI')
-rw-r--r-- | Swift/QtUI/QtLoginWindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/QtUI/QtLoginWindow.cpp b/Swift/QtUI/QtLoginWindow.cpp index 87343d1..3088dd6 100644 --- a/Swift/QtUI/QtLoginWindow.cpp +++ b/Swift/QtUI/QtLoginWindow.cpp @@ -258,9 +258,9 @@ void QtLoginWindow::loggedOut() { void QtLoginWindow::setIsLoggingIn(bool loggingIn) { /* Change the for loop as well if you add to this.*/ - QWidget* widgets[4] = {username_, password_, remember_, loginAutomatically_}; + QWidget* widgets[5] = {username_, password_, remember_, loginAutomatically_, certificateButton_}; loginButton_->setText(loggingIn ? "Cancel" : "Connect"); - for (int i = 0; i < 4; i++) { + for (int i = 0; i < 5; i++) { widgets[i]->setEnabled(!loggingIn); } |