summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 86deb3f..722f80a 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -15,10 +15,10 @@
#include "command_line_options.h"
#include "dialog.h"
#include "globals.h"
-#include "save_restore_session.h"
#include "vsession.h"
#include "xsession.h"
#include "httpxmldownloader.h"
+#include "choosersettings.h"
int main(int argc, char *argv[]) {
QApplication a(argc, argv);
@@ -105,7 +105,7 @@ int main(int argc, char *argv[]) {
} else if (settings.contains("default")) {
defaultSession = settings.value("default").toString();
} else {
- defaultSession = readSessionName();
+ defaultSession = ChooserSettings::getSetting("last-session");
}
if (cmdOptions.contains("path")) {