diff options
Diffstat (limited to 'qmidiplayer-desktop/main.cpp')
-rw-r--r-- | qmidiplayer-desktop/main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qmidiplayer-desktop/main.cpp b/qmidiplayer-desktop/main.cpp index 602aedc..ba44e99 100644 --- a/qmidiplayer-desktop/main.cpp +++ b/qmidiplayer-desktop/main.cpp @@ -21,9 +21,15 @@ #include <QTranslator> #include <QLibraryInfo> #include <QCommandLineParser> +#ifdef _WIN32 +#include <windows.h> +#endif int main(int argc,char **argv) { +#ifdef _WIN32 + FreeConsole(); +#endif QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); QCoreApplication::setApplicationName("qmidiplayer"); QCoreApplication::setApplicationVersion(APP_VERSION); |