summaryrefslogtreecommitdiff
authoralwin <alwin>2004-03-12 14:32:43 (UTC)
committer alwin <alwin>2004-03-12 14:32:43 (UTC)
commit590587e74b908460a275b1f58654bcf4cce5d175 (patch) (side-by-side diff)
tree27643d8c783dbba7472e82834197e4cfc6b8d729
parentd1929ef43f0eaaa17aa42196384d1ed925132873 (diff)
downloadopie-590587e74b908460a275b1f58654bcf4cce5d175.zip
opie-590587e74b908460a275b1f58654bcf4cce5d175.tar.gz
opie-590587e74b908460a275b1f58654bcf4cce5d175.tar.bz2
fix so it will compile with 2.95.x compilers
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/libmailwrapper/logindialog.cpp4
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,29 +1,29 @@
#include <qlineedit.h>
#include "logindialog.h"
LoginDialog::LoginDialog(const QString&user,const QString&pass, QWidget *parent, const char *name, bool modal, WFlags flags )
: LoginDialogUI( parent, name, modal, flags )
{
- userLine->setText( (user.isEmpty()?"":user) );
- passLine->setText( (pass.isEmpty()?"":pass) );
+ userLine->setText( (user.isEmpty()?QString(""):user) );
+ passLine->setText( (pass.isEmpty()?QString(""):pass) );
_user = user;
_pass = pass;
if ( user.isEmpty() ) {
userLine->setFocus();
} else {
passLine->setFocus();
}
}
void LoginDialog::accept()
{
//_user.replace( 0, _user.length(), userLine->text() );
//_pass.replace( 0, _pass.length(), passLine->text() );
_user = userLine->text();
_pass = passLine->text();
qDebug("User im accept: |%s|",_user.latin1());
QDialog::accept();
}