diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-06-05 18:12:21 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-06-05 18:12:21 +0900 |
commit | 1eaefc42f9aeae973600e1c9b0b4bea7f4e48bdd (patch) | |
tree | 3905d183284401630e6392ad15a60a1da8f5cac4 /kshowmail/kcmconfigs/accountsetupdialog.cpp | |
parent | 73fe57b2d3309e0c2aff8310a87929bd8cf6a334 (diff) | |
download | kshowmail-1eaefc42f9aeae973600e1c9b0b4bea7f4e48bdd.tar.gz kshowmail-1eaefc42f9aeae973600e1c9b0b4bea7f4e48bdd.zip |
Fixed "comparison with string literal results" warnings.
This resolves bug 1649.
Diffstat (limited to 'kshowmail/kcmconfigs/accountsetupdialog.cpp')
-rw-r--r-- | kshowmail/kcmconfigs/accountsetupdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kshowmail/kcmconfigs/accountsetupdialog.cpp b/kshowmail/kcmconfigs/accountsetupdialog.cpp index 19cfe0d..be1ce1a 100644 --- a/kshowmail/kcmconfigs/accountsetupdialog.cpp +++ b/kshowmail/kcmconfigs/accountsetupdialog.cpp @@ -256,7 +256,7 @@ void AccountSetupDialog::slotOk( ) //will return an empty string. If the user has typed in a new password, KPasswordEdit::password() //will return the correct password TQString pass; - if( txtPassword->password() == "" || txtPassword->password() == TQString::null ) + if( txtPassword->password() == TQString("") || txtPassword->password() == TQString::null ) pass = txtPassword->text(); else pass = txtPassword->password(); |