From 1eaefc42f9aeae973600e1c9b0b4bea7f4e48bdd Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 5 Jun 2014 18:12:21 +0900 Subject: Fixed "comparison with string literal results" warnings. This resolves bug 1649. --- kshowmail/kcmconfigs/accountsetupdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kshowmail/kcmconfigs/accountsetupdialog.cpp') 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(); -- cgit v1.2.3