From 3a74436a2e56906c38a22c364fc7ccfe74ee91d1 Mon Sep 17 00:00:00 2001 From: Thomas Frauendorfer Date: Fri, 29 Feb 2008 00:29:07 +0100 Subject: [PATCH] Fix a warning on string comparison --- lib/xclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/xclient.cpp b/lib/xclient.cpp index 6ff0765..e6ec102 100644 --- a/lib/xclient.cpp +++ b/lib/xclient.cpp @@ -103,7 +103,7 @@ try_again: try { delete m_client; m_client = new Xmms::Client (m_name); - if (!ipcpath || ipcpath == "") + if (!ipcpath || ipcpath == QLatin1String ("")) m_client->connect (NULL); else m_client->connect (ipcpath);