[vlc-commits] qt: remove toolbarDialog() from DialogsProvider
Fatih Uzunoglu
git at videolan.org
Tue Apr 6 09:54:42 UTC 2021
vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Fri Apr 2 01:22:14 2021 +0300| [5b0ec36bd849eb851f6c4decbe666db329313a0f] | committer: Pierre Lamot
qt: remove toolbarDialog() from DialogsProvider
Signed-off-by: Pierre Lamot <pierre at videolabs.io>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5b0ec36bd849eb851f6c4decbe666db329313a0f
---
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();
More information about the vlc-commits
mailing list