-rw-r--r-- | noncore/net/mail/libmailwrapper/logindialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/net/mail/libmailwrapper/logindialog.cpp b/noncore/net/mail/libmailwrapper/logindialog.cpp index 67479e6..01d177e 100644 --- a/noncore/net/mail/libmailwrapper/logindialog.cpp +++ b/noncore/net/mail/libmailwrapper/logindialog.cpp | |||
@@ -1,21 +1,21 @@ | |||
1 | #include <qlineedit.h> | 1 | #include <qlineedit.h> |
2 | 2 | ||
3 | #include "logindialog.h" | 3 | #include "logindialog.h" |
4 | 4 | ||
5 | LoginDialog::LoginDialog(const QString&user,const QString&pass, QWidget *parent, const char *name, bool modal, WFlags flags ) | 5 | LoginDialog::LoginDialog(const QString&user,const QString&pass, QWidget *parent, const char *name, bool modal, WFlags flags ) |
6 | : LoginDialogUI( parent, name, modal, flags ) | 6 | : LoginDialogUI( parent, name, modal, flags ) |
7 | { | 7 | { |
8 | userLine->setText( (user.isEmpty()?"":user) ); | 8 | userLine->setText( (user.isEmpty()?QString(""):user) ); |
9 | passLine->setText( (pass.isEmpty()?"":pass) ); | 9 | passLine->setText( (pass.isEmpty()?QString(""):pass) ); |
10 | _user = user; | 10 | _user = user; |
11 | _pass = pass; | 11 | _pass = pass; |
12 | 12 | ||
13 | if ( user.isEmpty() ) { | 13 | if ( user.isEmpty() ) { |
14 | userLine->setFocus(); | 14 | userLine->setFocus(); |
15 | } else { | 15 | } else { |
16 | passLine->setFocus(); | 16 | passLine->setFocus(); |
17 | } | 17 | } |
18 | } | 18 | } |
19 | 19 | ||
20 | void LoginDialog::accept() | 20 | void LoginDialog::accept() |
21 | { | 21 | { |