[vlc-devel] [PATCH 02/29] qt: remove toolbarDialog() from DialogsProvider

Fatih Uzunoglu fuzun54 at outlook.com
Thu Apr 1 22:22:14 UTC 2021


---
 modules/gui/qt/dialogs/dialogs_provider.cpp | 9 ---------
 modules/gui/qt/dialogs/dialogs_provider.hpp | 1 -
 2 files changed, 10 deletions(-)

diff --git a/modules/gui/qt/dialogs/dialogs_provider.cpp b/modules/gui/qt/dialogs/dialogs_provider.cpp
index a5d7cfd20e..3b33280315 100644
--- a/modules/gui/qt/dialogs/dialogs_provider.cpp
+++ b/modules/gui/qt/dialogs/dialogs_provider.cpp
@@ -50,7 +50,6 @@
 #include "dialogs/help/help.hpp"
 #include "dialogs/gototime/gototime.hpp"
 #include "dialogs/podcast/podcast_configuration.hpp"
-#include "dialogs/toolbar/toolbareditor.hpp"
 #include "dialogs/plugins/plugins.hpp"
 #include "dialogs/epg/epg.hpp"
 #include "dialogs/errors/errors.hpp"
@@ -345,14 +344,6 @@ void DialogsProvider::podcastConfigureDialog()
     PodcastConfigDialog::getInstance( p_intf )->toggleVisible();
 }
 
-void DialogsProvider::toolbarDialog()
-{
-    ToolbarEditorDialog *toolbarEditor = new ToolbarEditorDialog( (QWidget *)p_intf->p_sys->p_mi, p_intf);
-    if( toolbarEditor->exec() == QDialog::Accepted )
-        emit toolBarConfUpdated();
-    delete toolbarEditor;
-}
-
 void DialogsProvider::pluginDialog()
 {
     PluginDialog::getInstance( p_intf )->toggleVisible();
diff --git a/modules/gui/qt/dialogs/dialogs_provider.hpp b/modules/gui/qt/dialogs/dialogs_provider.hpp
index d0284da337..afe9ed35b6 100644
--- a/modules/gui/qt/dialogs/dialogs_provider.hpp
+++ b/modules/gui/qt/dialogs/dialogs_provider.hpp
@@ -144,7 +144,6 @@ public slots:
     void aboutDialog();
     void gotoTimeDialog();
     void podcastConfigureDialog();
-    void toolbarDialog();
     void pluginDialog();
     void epgDialog();
     void setPopupMenu();
-- 
2.27.0



More information about the vlc-devel mailing list