fix: fixed a typo in previous commit, search path

This commit is contained in:
Qv2ray-Bot 2020-02-04 21:54:06 +08:00
parent 7ce6c3e9b7
commit 0e8767ea5f

View File

@ -103,7 +103,7 @@ bool initialiseQv2ray()
{ {
LOG(INIT, "Application exec path: " + QApplication::applicationDirPath()) LOG(INIT, "Application exec path: " + QApplication::applicationDirPath())
const QString homeQv2ray = QDir::homePath() + "/.qv2ray" QV2RAY_CONFIG_DIR_SUFFIX; const QString homeQv2ray = QDir::homePath() + "/.qv2ray" QV2RAY_CONFIG_DIR_SUFFIX;
const QString configQv2ray = QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) + "./qv2ray" QV2RAY_CONFIG_DIR_SUFFIX; const QString configQv2ray = QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) + "/qv2ray" QV2RAY_CONFIG_DIR_SUFFIX;
const QString currentPathConfig = QApplication::applicationDirPath() + "/config" QV2RAY_CONFIG_DIR_SUFFIX; const QString currentPathConfig = QApplication::applicationDirPath() + "/config" QV2RAY_CONFIG_DIR_SUFFIX;
// //
// //