From 4d7c5f71f6722d4e5acf7326856493afe2c5317a Mon Sep 17 00:00:00 2001 From: Kevin Flynn Date: Sat, 28 Jun 2014 10:09:16 -0700 Subject: [PATCH] Use the default Tox save file --- core.cpp | 2 +- settings.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core.cpp b/core.cpp index 4ecc27fb3..1d5a2fa05 100644 --- a/core.cpp +++ b/core.cpp @@ -28,7 +28,7 @@ #include #include -const QString Core::CONFIG_FILE_NAME = "tox_save"; +const QString Core::CONFIG_FILE_NAME = "data"; QList Core::fileSendQueue; QList Core::fileRecvQueue; ToxCall Core::calls[TOXAV_MAX_CALLS]; diff --git a/settings.cpp b/settings.cpp index 6e482afd1..e668f22ae 100644 --- a/settings.cpp +++ b/settings.cpp @@ -174,7 +174,7 @@ QString Settings::getSettingsDirPath() #ifdef Q_OS_WIN return QStandardPaths::writableLocation(QStandardPaths::ConfigLocation); #else - return QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) + '/' + qApp->organizationName() + '/' + qApp->applicationName(); + return QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) + '/' + "tox" + '/'; #endif }