diff --git a/AuthDialog.cpp b/AuthDialog.cpp --- a/AuthDialog.cpp +++ b/AuthDialog.cpp @@ -214,6 +214,7 @@ * doing it again.. (this is mainly used when the user entered the * wrong password and the dialog is recycled) */ + if (identities.count() && (userCB->count() - 1) != identities.count()) { // Clears the combobox in the case some user be added userCB->clear(); diff --git a/AuthDialog.ui b/AuthDialog.ui --- a/AuthDialog.ui +++ b/AuthDialog.ui @@ -7,53 +7,30 @@ 0 0 511 - 344 + 260 - + 0 0 - - - - - - - 0 - 0 - - - - &Lock Icon here - - - false - - - lePassword - - - - - - - Qt::Vertical - - - - 20 - 92 - - - - - + + 6 + + + + + QLineEdit::Password + + + false + + @@ -94,11 +71,28 @@ - - + + + + Qt::Vertical + + + + 20 + 13 + + + - + + + + 0 + 0 + + + @@ -110,16 +104,58 @@ - - - - QLineEdit::Password + + + + true - - false + + + 0 + 0 + + + + + 6 + + + + + + 0 + 0 + + + + &Lock Icon here + + + false + + + lePassword + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + @@ -139,7 +175,7 @@ KMessageWidget - QWidget + QFrame
kmessagewidget.h