summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/main.cpp4
-rw-r--r--facetracknoir/ui.cpp1
2 files changed, 2 insertions, 3 deletions
diff --git a/facetracknoir/main.cpp b/facetracknoir/main.cpp
index 9c2ced45..ae237b61 100644
--- a/facetracknoir/main.cpp
+++ b/facetracknoir/main.cpp
@@ -28,9 +28,9 @@ int main(int argc, char** argv)
QApplication::setAttribute(Qt::AA_X11InitThreads, true);
QApplication app(argc, argv);
- auto w = std::make_shared<MainWindow>();
+ MainWindow w;
- w->show();
+ w.show();
app.exec();
return 0;
diff --git a/facetracknoir/ui.cpp b/facetracknoir/ui.cpp
index 54e4646e..037e2f5a 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()