diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-09-17 19:29:03 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-09-17 19:29:03 +0200 |
commit | 9ada3fad5dcd0885aa9a0f27d71b0ce01c017bcd (patch) | |
tree | 1be92ace3a32055169c3e18f26bf1a63d2daccff | |
parent | edb9c9865b0526b8da9efe4369182387c632efb7 (diff) |
main: use app instance, not some qt singleton
-rw-r--r-- | facetracknoir/main.cpp | 2 |
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; } |