diff --git a/src/main.cpp b/src/main.cpp index 22fa6116..264d10bb 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -208,6 +208,12 @@ int main(int argc, char *argv[]) } } + QSettings settings(SETTINGSFILE, QSettings::IniFormat); + if(settings.value("leaveSessionOpen", "").toString().isEmpty()) { + settings.setValue("leaveSessionOpen", "false"); + } + +