diff options
-rw-r--r-- | libmediaart/extractqt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmediaart/extractqt.cpp b/libmediaart/extractqt.cpp index 2032600..2dabd04 100644 --- a/libmediaart/extractqt.cpp +++ b/libmediaart/extractqt.cpp @@ -43,7 +43,7 @@ G_BEGIN_DECLS #ifdef HAVE_QT5 -static QGuiApplication *app = NULL; +static QCoreApplication *app = NULL; #else /* HAVE_QT4 (we fallback to Qt4) */ static QApplication *app = NULL; #endif /* HAVE_QT5 */ @@ -66,7 +66,7 @@ media_art_plugin_init (gint max_width) setenv("QT_QPA_PLATFORM", "minimal", 1); #endif /* HAVE_NEMO */ - app = new QGuiApplication (argc, argv); + app = new QCoreApplication (argc, argv); #else /* HAVE_QT4 (we fallback to Qt4) */ app = new QApplication (argc, argv, QApplication::Tty); #endif /* HAVE_QT5 */ |