[vlc-commits] qt: Forwarding signal when player controlbar need to be rebuild

Rohan Rajpal git at videolan.org
Wed Aug 21 16:26:52 CEST 2019


vlc | branch: master | Rohan Rajpal <rohan17089 at iiitd.ac.in> | Tue Jul 30 16:44:00 2019 +0530| [8120670431c47fed94545da8dc5b62df6fc6a78c] | committer: Jean-Baptiste Kempf

qt: Forwarding signal when player controlbar need to be rebuild

Add a signal to notify when the player controlbar needs rebuild.
QEvent is no longer used to rebuild.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/gui/qt/main_interface.cpp | 5 -----
 modules/gui/qt/main_interface.hpp | 2 +-
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/modules/gui/qt/main_interface.cpp b/modules/gui/qt/main_interface.cpp
index eb28983885..a93e3655d3 100644
--- a/modules/gui/qt/main_interface.cpp
+++ b/modules/gui/qt/main_interface.cpp
@@ -1073,11 +1073,6 @@ void MainInterface::closeEvent( QCloseEvent *e )
     }
 }
 
-void MainInterface::toolBarConfUpdated()
-{
-    QApplication::postEvent( this, new QEvent( MainInterface::ToolbarsNeedRebuild ) );
-}
-
 void MainInterface::setFullScreen( bool fs )
 {
     if( fs )
diff --git a/modules/gui/qt/main_interface.hpp b/modules/gui/qt/main_interface.hpp
index bd3b917661..371cd54ac5 100644
--- a/modules/gui/qt/main_interface.hpp
+++ b/modules/gui/qt/main_interface.hpp
@@ -212,7 +212,6 @@ public slots:
     void popupMenu( bool show );
 
     virtual void reloadPrefs();
-    void toolBarConfUpdated();
     VLCVarChoiceModel* getExtraInterfaces();
 
 protected slots:
@@ -257,6 +256,7 @@ signals:
     void interfaceAlwaysOnTopChanged(bool);
     void interfaceFullScreenChanged(bool);
     void hasEmbededVideoChanged(bool);
+    void toolBarConfUpdated();
 };
 
 #endif



More information about the vlc-commits mailing list