summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-09-17 19:29:03 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-09-17 19:29:03 +0200
commit9ada3fad5dcd0885aa9a0f27d71b0ce01c017bcd (patch)
tree1be92ace3a32055169c3e18f26bf1a63d2daccff
parentedb9c9865b0526b8da9efe4369182387c632efb7 (diff)
main: use app instance, not some qt singleton
-rw-r--r--facetracknoir/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/facetracknoir/main.cpp b/facetracknoir/main.cpp
index 1a9f8a3c..9dc0749f 100644
--- a/facetracknoir/main.cpp
+++ b/facetracknoir/main.cpp
@@ -54,7 +54,7 @@ int main(int argc, char** argv)
w.move(desktop.screenGeometry().width()/2-w.width()/2, 100);
w.show();
- qApp->exec();
+ app.exec();
return 0;
}