diff options
author | Mateusz Łukasik <mati75@linuxmint.pl> | 2016-06-15 20:23:58 +0200 |
---|---|---|
committer | Mateusz Łukasik <mati75@linuxmint.pl> | 2016-06-15 20:23:58 +0200 |
commit | 42be0eb4f1d7a25dca97e8e2eb4ec4d03b7931fb (patch) | |
tree | fae3347b0c924378c57862feea2708766d159771 /src/main.cpp | |
parent | 1a2f0c9c1087899a00298db8fa70518d3c1e69f8 (diff) |
Imported Upstream version 16.6.0~ds0
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index d10bd05..ab04b48 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -21,8 +21,16 @@ #include <QDir> -int main( int argc, char ** argv ) +#ifdef HDPI_SUPPORT +#include "hdpisupport.h" +#endif + +int main( int argc, char ** argv ) { +#ifdef HDPI_SUPPORT + HDPISupport * hdpi = new HDPISupport(); +#endif + MyApplication a( "smplayer", argc, argv ); /* if (a.isRunning()) { @@ -83,6 +91,10 @@ int main( int argc, char ** argv ) delete smplayer; +#ifdef HDPI_SUPPORT + delete hdpi; +#endif + return r; } |