1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Use the default Tox save file

This commit is contained in:
Kevin Flynn 2014-06-28 10:09:16 -07:00
parent 2d794f6423
commit 4d7c5f71f6
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
#include <QThread>
#include <QtConcurrent/QtConcurrent>
const QString Core::CONFIG_FILE_NAME = "tox_save";
const QString Core::CONFIG_FILE_NAME = "data";
QList<ToxFile> Core::fileSendQueue;
QList<ToxFile> Core::fileRecvQueue;
ToxCall Core::calls[TOXAV_MAX_CALLS];

View File

@ -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
}