Browse Source

Use the default Tox save file

pull/19/head
Kevin Flynn 11 years ago
parent
commit
4d7c5f71f6
  1. 2
      core.cpp
  2. 2
      settings.cpp

2
core.cpp

@ -28,7 +28,7 @@ @@ -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];

2
settings.cpp

@ -174,7 +174,7 @@ QString Settings::getSettingsDirPath() @@ -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
}

Loading…
Cancel
Save