[vlc-devel] [PATCH 2/8] gui/qt: main_interface: remove legacy code

Filip Roséen filip at atch.se
Mon Mar 20 13:41:52 CET 2017


---
 modules/gui/qt/main_interface.cpp | 21 ---------------------
 modules/gui/qt/main_interface.hpp |  3 ---
 2 files changed, 24 deletions(-)

diff --git a/modules/gui/qt/main_interface.cpp b/modules/gui/qt/main_interface.cpp
index 49a59b6815..561e502d7b 100644
--- a/modules/gui/qt/main_interface.cpp
+++ b/modules/gui/qt/main_interface.cpp
@@ -1161,27 +1161,6 @@ void MainInterface::setPlaylistVisibility( bool b_visible )
     playlistVisible = b_visible;
 }
 
-#if 0
-void MainInterface::visual()
-{
-    if( !VISIBLE( visualSelector) )
-    {
-        visualSelector->show();
-        if( !THEMIM->getIM()->hasVideo() )
-        {
-            /* Show the background widget */
-        }
-        visualSelectorEnabled = true;
-    }
-    else
-    {
-        /* Stop any currently running visualization */
-        visualSelector->hide();
-        visualSelectorEnabled = false;
-    }
-}
-#endif
-
 /************************************************************************
  * Other stuff
  ************************************************************************/
diff --git a/modules/gui/qt/main_interface.hpp b/modules/gui/qt/main_interface.hpp
index 6e3d96aef3..c0e2a207b1 100644
--- a/modules/gui/qt/main_interface.hpp
+++ b/modules/gui/qt/main_interface.hpp
@@ -221,9 +221,6 @@ protected slots:
     void recreateToolbars();
     void setName( const QString& );
     void setVLCWindowsTitle( const QString& title = "" );
-#if 0
-    void visual();
-#endif
     void handleSystrayClick( QSystemTrayIcon::ActivationReason );
     void updateSystrayTooltipName( const QString& );
     void updateSystrayTooltipStatus( int );
-- 
2.12.0


More information about the vlc-devel mailing list