summaryrefslogtreecommitdiff
path: root/libmediaart
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2017-05-23 16:47:59 +0100
committerCarlos Garnacho <carlosg@gnome.org>2017-08-09 17:12:02 +0200
commit9c2091d67d581fed07dae8dc4b0e0541bc6be3f8 (patch)
treef60eeddfe5f93ceb4d82ef3928aff9faecae032c /libmediaart
parent8ef56aab48f47e16ba297812b2eebfd8ac863d50 (diff)
downloadlibmediaart-9c2091d67d581fed07dae8dc4b0e0541bc6be3f8.tar.gz
Remove --enable-nemo
This flag was just enabling a codepath that sets QT_QPA_PLATFORM=minimal in the environment before constructing a QCoreApplication instance. This code path has no effect anyway: QT_QPA_PLATFORM only has an effect if you are using QGuiApplication. https://bugzilla.gnome.org/show_bug.cgi?id=783562
Diffstat (limited to 'libmediaart')
-rw-r--r--libmediaart/extractqt.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/libmediaart/extractqt.cpp b/libmediaart/extractqt.cpp
index dda324f..6114270 100644
--- a/libmediaart/extractqt.cpp
+++ b/libmediaart/extractqt.cpp
@@ -36,9 +36,7 @@
#include <glib.h>
-#ifdef HAVE_NEMO
#include <stdlib.h>
-#endif
G_BEGIN_DECLS
@@ -61,11 +59,6 @@ media_art_plugin_init (gint max_width)
max_width_in_bytes = max_width;
#ifdef HAVE_QT5
-
-#ifdef HAVE_NEMO
- setenv("QT_QPA_PLATFORM", "minimal", 1);
-#endif /* HAVE_NEMO */
-
app = new QCoreApplication (argc, argv);
#else /* HAVE_QT4 (we fallback to Qt4) */
app = new QApplication (argc, argv, QApplication::Tty);