summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'facetracknoir/ui.cpp')
-rw-r--r--facetracknoir/ui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/facetracknoir/ui.cpp b/facetracknoir/ui.cpp
index 54e4646e..c9a0b7b3 100644
--- a/facetracknoir/ui.cpp
+++ b/facetracknoir/ui.cpp
@@ -88,7 +88,6 @@ MainWindow::~MainWindow()
tray->hide();
stopTracker();
save();
- _exit(0);
}
void MainWindow::set_working_directory()
@@ -132,6 +131,7 @@ void MainWindow::save() {
settings->sync();
#if defined(__unix) || defined(__linux)
+ QString currentFile = group::ini_pathname();
QByteArray bytes = QFile::encodeName(currentFile);
const char* filename_as_asciiz = bytes.constData();