[vlc-commits] gui/qt: main_interface: remove legacy code
Filip Roséen
git at videolan.org
Mon Mar 20 13:53:06 CET 2017
vlc | branch: master | Filip Roséen <filip at atch.se> | Mon Mar 20 13:41:52 2017 +0100| [894e1fdd4976dd974e52bac50cadcacc10c39913] | committer: Hugo Beauzée-Luyssen
gui/qt: main_interface: remove legacy code
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=894e1fdd4976dd974e52bac50cadcacc10c39913
---
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 49a59b6..561e502 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 6e3d96a..c0e2a20 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 );
More information about the vlc-commits
mailing list