Syntax fixes.

This commit is contained in:
Felix Geyer 2011-12-24 17:26:04 +01:00
parent 1e4587c7a3
commit 61dc295fa0

View file

@ -46,11 +46,11 @@ DataPath::DataPath()
} }
#endif #endif
#ifdef Q_WS_MAC #ifdef Q_WS_MAC
else if (testSetDir(QCoreApplication::applicationDirPath() + "/../Resources/keepassx") { else if (testSetDir(QCoreApplication::applicationDirPath() + "/../Resources/keepassx")) {
} }
#endif #endif
#ifdef Q_WS_WIN #ifdef Q_WS_WIN
else if (testSetDir(QCoreApplication::applicationDirPath() + "/share") { else if (testSetDir(QCoreApplication::applicationDirPath() + "/share")) {
} }
#endif #endif
@ -60,8 +60,6 @@ DataPath::DataPath()
else { else {
m_basePath = QDir::cleanPath(m_basePath) + "/"; m_basePath = QDir::cleanPath(m_basePath) + "/";
} }
qDebug("%s", m_basePath.toAscii().constData());
} }
bool DataPath::testSetDir(const QString& dir) bool DataPath::testSetDir(const QString& dir)