summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/main.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-02 18:41:01 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-02 18:41:01 +0200
commit8303597a865400a363ae574ccde819302495f498 (patch)
treec83b383b3ec818f610cc6137f2b72ee7b4173b09 /facetracknoir/main.cpp
parent8adf6b1650af6027f28db12ca2b4de92a3fac11d (diff)
Just put everything new in. Conflict resolution will be later
Diffstat (limited to 'facetracknoir/main.cpp')
-rw-r--r--facetracknoir/main.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/facetracknoir/main.cpp b/facetracknoir/main.cpp
index 6e0549d7..d2eb84cc 100644
--- a/facetracknoir/main.cpp
+++ b/facetracknoir/main.cpp
@@ -27,28 +27,28 @@
messages from the Game.
*/
-#include "FaceApp.h"
-#include "FaceTrackNoIR.h"
+#include "facetracknoir.h"
+#include "tracker.h"
#include <QtGui/QApplication>
#include <QDesktopWidget>
#include <QDebug>
#include <QList>
-int main(int argc, char *argv[])
+#if defined(_WIN32)
+#include <windows.h>
+#pragma comment(linker, "/SUBSYSTEM:windows /ENTRY:mainCRTStartup")
+#endif
+int main(int argc, char** argv)
{
-//// QApplication a(argc, argv);
- FaceApp a(argc, argv);
+ QApplication app(argc, argv);
QFont font;
font.setFamily(font.defaultFamily());
font.setPointSize(9);
- a.setFont(font);
-
+ app.setFont(font);
+ FaceTrackNoIR w;
//
// Create the Main Window and DeskTop and Exec!
//
- FaceTrackNoIR w;
- a.SetupEventFilter(&w);
-
QDesktopWidget desktop;
w.move(desktop.screenGeometry().width()/2-w.width()/2, 100);
w.show();