changed application data path from %appdata%/chatterino to

%appdata%/chatterino2
This commit is contained in:
fourtf
2017-04-13 18:51:46 +02:00
parent 138466035f
commit 11fed12be1
9 changed files with 221 additions and 183 deletions
+2 -3
View File
@@ -1,4 +1,5 @@
#include "windowmanager.h"
#include "appdatapath.h"
#include <QDebug>
#include <QStandardPaths>
@@ -9,9 +10,7 @@ namespace chatterino {
static const std::string &getSettingsPath()
{
static std::string path =
(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) + "/windows.json")
.toStdString();
static std::string path = (Path::getAppdataPath() + "uilayout.json").toStdString();
return path;
}