[tracker] Fixes after review for Qt5 port
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] Fixes after review for Qt5 port
- Date: Thu, 9 Jan 2014 13:21:58 +0000 (UTC)
commit 8b3b8fe8da4c72cb4afda9805b70bd26ca9743f2
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Jan 9 10:19:27 2014 +0100
Fixes after review for Qt5 port
src/tracker-extract/tracker-media-art-qt.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/tracker-extract/tracker-media-art-qt.cpp b/src/tracker-extract/tracker-media-art-qt.cpp
index ab220c4..47a3ef5 100644
--- a/src/tracker-extract/tracker-media-art-qt.cpp
+++ b/src/tracker-extract/tracker-media-art-qt.cpp
@@ -48,7 +48,7 @@ G_BEGIN_DECLS
#ifdef HAVE_QT5
static QGuiApplication *app = NULL;
-#else
+#else /* HAVE_QT4 */
static QApplication *app = NULL
#endif
@@ -61,11 +61,11 @@ tracker_media_art_plugin_init (void)
#ifdef HAVE_QT5
#ifdef HAVE_NEMO
- setenv("QT_QPA_PLATFORM", "minimal", 1);
+ g_setenv("QT_QPA_PLATFORM", "minimal", 1);
#endif
app = new QGuiApplication (argc, argv);
-#else
+#else /* HAVE_QT4 */
app = new QApplication (argc, argv, QApplication::Tty);
#endif
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]