Syntax fixes.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user