diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-05-04 11:57:19 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-05-04 11:57:19 +0200 |
commit | 9ec8acf38a6c09d1d7239146fc115bcef938a64d (patch) | |
tree | 6958770e5e8ac022a209cac5d03d3cc7f4ab0b77 /facetracknoir/main.cpp | |
parent | ee4cd1270faa9a9024b4e700bce09cd451d23019 (diff) |
no need to _Exit() forcefully anymore
Diffstat (limited to 'facetracknoir/main.cpp')
-rw-r--r-- | facetracknoir/main.cpp | 4 |
1 files changed, 2 insertions, 2 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; |