]> git.sesse.net Git - vlc/commitdiff
qt4 - Renaming a function.
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 17 Jul 2007 17:54:05 +0000 (17:54 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 17 Jul 2007 17:54:05 +0000 (17:54 +0000)
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.hpp

index e16180862a75eb7165503ab717e64eb70313d31f..f9ef6ef137699483c45c20bffabb13a8a18e69fa 100644 (file)
@@ -123,16 +123,16 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
     setAcceptDrops(true);
 
     /* Systray */
-    systray = NULL;
+    sysTray = NULL;
     if( QSystemTrayIcon::isSystemTrayAvailable() &&
                   ( config_GetInt( p_intf, "qt-start-mininimized") == 1) )
     {
         hide();
-        createSystrayMenu();
+        createSystray();
     }
     if( QSystemTrayIcon::isSystemTrayAvailable() &&
                   ( config_GetInt( p_intf, "qt-system-tray") == 1) )
-            createSystrayMenu();
+            createSystray();
 
     /* Init input manager */
     MainInputManager::getInstance( p_intf );
@@ -150,7 +150,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
     /* Naming in the controller */
     CONNECT( THEMIM->getIM(), nameChanged( QString ), this,
              setName( QString ) );
-    if( config_GetInt( p_intf, "qt-system-tray" ) && systray )
+    if( config_GetInt( p_intf, "qt-system-tray" ) && sysTray )
     {
         CONNECT( THEMIM->getIM(), nameChanged( QString ), this,
                  updateSystrayTooltipName( QString ) );
@@ -165,7 +165,7 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
     CONNECT( THEMIM->getIM(), statusChanged( int ), this, setStatus( int ) );
     CONNECT( THEMIM->getIM(), navigationChanged( int ),
              this, setNavigation(int) );
-    if( config_GetInt( p_intf, "qt-system-tray" ) && systray )
+    if( config_GetInt( p_intf, "qt-system-tray" ) && sysTray )
     {
         CONNECT( THEMIM->getIM(), statusChanged( int ), this,
                  updateSystrayTooltipStatus( int ) );
index 1505cf682ecc460c0f2cf209a556df0c337e474d..d6b51d80e3522fcba9c8ff76dc42967288f0044b 100644 (file)
@@ -84,7 +84,7 @@ private:
     void handleMainUi( QSettings* );
     void handleSystray();
     void doComponentsUpdate();
-    void createSystrayMenu();
+    void createSystray();
 
     /* Video */
     VideoWidget         *videoWidget;