[vlc-commits] Qt4: remove the old Maemo 5 systray hack

Rémi Denis-Courmont git at videolan.org
Wed Jul 25 19:40:19 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jul 25 20:39:09 2012 +0300| [6799f98c13d87f51ca8a01208a527a8d06ce5e88] | committer: Rémi Denis-Courmont

Qt4: remove the old Maemo 5 systray hack

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6799f98c13d87f51ca8a01208a527a8d06ce5e88
---

 modules/gui/qt4/dialogs/firstrun.cpp |    2 --
 modules/gui/qt4/qt4.cpp              |    8 +-------
 2 files changed, 1 insertion(+), 9 deletions(-)

diff --git a/modules/gui/qt4/dialogs/firstrun.cpp b/modules/gui/qt4/dialogs/firstrun.cpp
index ace65cf..a24ba62 100644
--- a/modules/gui/qt4/dialogs/firstrun.cpp
+++ b/modules/gui/qt4/dialogs/firstrun.cpp
@@ -32,11 +32,9 @@
 FirstRun::FirstRun( QWidget *_p, intf_thread_t *_p_intf  )
          : QWidget( _p ), p_intf( _p_intf )
 {
-#ifndef HAVE_MAEMO
     msg_Dbg( p_intf, "Boring first Run Wizard" );
     buildPrivDialog();
     setVisible( true );
-#endif
 }
 
 #define ALBUM_ART_WHEN_ASKED 0
diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp
index 7adb1c5..1351107 100644
--- a/modules/gui/qt4/qt4.cpp
+++ b/modules/gui/qt4/qt4.cpp
@@ -201,13 +201,7 @@ vlc_module_begin ()
     add_bool( "qt-minimal-view", false, QT_MINIMAL_MODE_TEXT,
               QT_MINIMAL_MODE_TEXT, false );
 
-    add_bool( "qt-system-tray",
-#ifdef HAVE_MAEMO
-            false,
-#else
-            true,
-#endif
-            SYSTRAY_TEXT, SYSTRAY_LONGTEXT, false)
+    add_bool( "qt-system-tray", true, SYSTRAY_TEXT, SYSTRAY_LONGTEXT, false)
 
     add_integer( "qt-notification", NOTIFICATION_MINIMIZED,
                  NOTIFICATION_TEXT,



More information about the vlc-commits mailing list