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

Merge pull request #19 from F1ynn/master

Use the default Tox save file
This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-06-28 19:11:22 +02:00
commit 06d3f7fe34
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
}