summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/main.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-09-17 19:16:48 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-09-17 19:16:48 +0200
commit5d22b1379f161ae2e367ed24cba2d2e774d06865 (patch)
tree593b90d77ddd6f277d5ac4a031b3befc64f8417a /facetracknoir/main.cpp
parentec37d5b6834e45b2c90a2919fa9023dee5c0237c (diff)
ui: Enable antialiasing
Diffstat (limited to 'facetracknoir/main.cpp')
-rw-r--r--facetracknoir/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/facetracknoir/main.cpp b/facetracknoir/main.cpp
index fbf28678..a015eeeb 100644
--- a/facetracknoir/main.cpp
+++ b/facetracknoir/main.cpp
@@ -28,6 +28,7 @@
#include <QDesktopWidget>
#include <QDebug>
#include <QList>
+#include <QFont>
#if defined(_WIN32)
# include <windows.h>
@@ -35,6 +36,7 @@
#elif defined(Q_OS_UNIX)
#include <X11/Xlib.h>
#endif
+
int main(int argc, char** argv)
{
#if defined(Q_WS_X11)
@@ -44,6 +46,7 @@ int main(int argc, char** argv)
QFont font;
font.setFamily(font.defaultFamily());
font.setPointSize(9);
+ font.setStyleStrategy(QFont::PreferAntialias);
app.setFont(font);
FaceTrackNoIR w;
//