From 45ee9448172502b82d7388f450abd4fe43c5d94e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Kundr=C3=A1t?= Date: Thu, 4 Mar 2010 17:22:42 +0000 Subject: [PATCH] Fix regressions Even though I did read the diff, my eyeballs apparently failed when checking the results of the QString::null cleanup. Sorry. git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/extragear/graphics/kphotoalbum@1098920 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- SQLDB/ConnectionParameters.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQLDB/ConnectionParameters.h b/SQLDB/ConnectionParameters.h index 10a15b9a..f702055d 100644 --- a/SQLDB/ConnectionParameters.h +++ b/SQLDB/ConnectionParameters.h @@ -44,7 +44,7 @@ namespace SQLDB void setHostName(const QString& hostName) { - _hostName.clear(); + _hostName = hostName; } void setPort(int port) @@ -64,7 +64,7 @@ namespace SQLDB bool isLocal() const { - return _hostName.isNull(); + return _hostName.isEmpty(); } const QString& hostName() const -- 2.11.4.GIT