ui: reset window layout option in view menu

This commit is contained in:
malte_langkabel
2017-04-10 18:45:32 +02:00
parent 050e31c1fd
commit 23341d63d0
11 changed files with 40 additions and 25 deletions
+2 -1
View File
@@ -8,6 +8,7 @@
#include "qt/utility/utilityQt.h"
#include "utility/AppPath.h"
#include "utility/ResourcePaths.h"
#include "utility/UserPaths.h"
bool appIsMacBundle = false;
@@ -55,7 +56,7 @@ void setupPlatform(int argc, char *argv[])
// ----------------------------------------------------------------------------
// Makes the mac bundle copy the user files to the Application Support folder
QString dataPath = QStandardPaths::writableLocation(QStandardPaths::DataLocation);
QString oldDataPath = QString::fromStdString(UserPaths::getUserDataPath() + "user/");
QString oldDataPath = QString::fromStdString(ResourcePaths::getFallbackPath());
QDir dataDir(dataPath);
if (!dataDir.exists())