diff --git a/launcherwindow.cpp b/launcherwindow.cpp index e2fd96d..d0cccff 100644 --- a/launcherwindow.cpp +++ b/launcherwindow.cpp @@ -251,6 +251,13 @@ void LauncherWindow::readSettings() savedPasses = settings.value("pass").toStringList(); settings.endGroup(); + readSettingsPath(); +} + +void LauncherWindow::readSettingsPath() +{ + QSettings settings("Shticker-Book-Rewritten", "Shticker-Book-Rewritten"); + settings.beginGroup("FilesPath"); filePath = settings.value("path").toString(); settings.endGroup(); @@ -334,5 +341,5 @@ void LauncherWindow::setFilePath() chooser->deleteLater(); - readSettings(); + readSettingsPath(); } diff --git a/launcherwindow.h b/launcherwindow.h index 70b635e..bb8a2eb 100644 --- a/launcherwindow.h +++ b/launcherwindow.h @@ -73,6 +73,7 @@ private slots: QString cachePath; void readSettings(); + void readSettingsPath(); void writeSettings(); void setFilePath();