From 61dc295fa0c83aa0a2ce28067e64fe7bdd46bec9 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Sat, 24 Dec 2011 17:26:04 +0100 Subject: [PATCH] Syntax fixes. --- src/core/DataPath.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/core/DataPath.cpp b/src/core/DataPath.cpp index be7a41c5..a69463c4 100644 --- a/src/core/DataPath.cpp +++ b/src/core/DataPath.cpp @@ -46,11 +46,11 @@ DataPath::DataPath() } #endif #ifdef Q_WS_MAC - else if (testSetDir(QCoreApplication::applicationDirPath() + "/../Resources/keepassx") { + else if (testSetDir(QCoreApplication::applicationDirPath() + "/../Resources/keepassx")) { } #endif #ifdef Q_WS_WIN - else if (testSetDir(QCoreApplication::applicationDirPath() + "/share") { + else if (testSetDir(QCoreApplication::applicationDirPath() + "/share")) { } #endif @@ -60,8 +60,6 @@ DataPath::DataPath() else { m_basePath = QDir::cleanPath(m_basePath) + "/"; } - - qDebug("%s", m_basePath.toAscii().constData()); } bool DataPath::testSetDir(const QString& dir)