From 0f9c8582993b0714ed07366808bfccc97c35cc52 Mon Sep 17 00:00:00 2001 From: Kevin Smith <git@kismith.co.uk> Date: Fri, 8 Oct 2010 10:29:47 +0100 Subject: Also disable certificate selection during login. 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); } -- cgit v0.10.2-6-g49f6