[vlc-commits] qt: make dialogsprovider simpleOpenDialog start playing optionally
Fatih Uzunoglu
git at videolan.org
Tue Aug 18 17:15:03 CEST 2020
vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Tue Jul 14 22:51:42 2020 +0300| [648f39a0eecee3c25090444fd7da94ce68bfaf0b] | committer: Pierre Lamot
qt: make dialogsprovider simpleOpenDialog start playing optionally
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=648f39a0eecee3c25090444fd7da94ce68bfaf0b
---
modules/gui/qt/dialogs/dialogs_provider.cpp | 4 ++--
modules/gui/qt/dialogs/dialogs_provider.hpp | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/gui/qt/dialogs/dialogs_provider.cpp b/modules/gui/qt/dialogs/dialogs_provider.cpp
index c985615490..d1df96cb61 100644
--- a/modules/gui/qt/dialogs/dialogs_provider.cpp
+++ b/modules/gui/qt/dialogs/dialogs_provider.cpp
@@ -486,11 +486,11 @@ QStringList DialogsProvider::showSimpleOpen( const QString& help,
return res;
}
-void DialogsProvider::simpleOpenDialog()
+void DialogsProvider::simpleOpenDialog(bool start)
{
QStringList urls = DialogsProvider::showSimpleOpen();
- bool first = true;
+ bool first = start;
urls.sort();
foreach( const QString &url, urls )
{
diff --git a/modules/gui/qt/dialogs/dialogs_provider.hpp b/modules/gui/qt/dialogs/dialogs_provider.hpp
index c94e41c5d0..fb53428ca1 100644
--- a/modules/gui/qt/dialogs/dialogs_provider.hpp
+++ b/modules/gui/qt/dialogs/dialogs_provider.hpp
@@ -144,7 +144,7 @@ public slots:
void openFileGenericDialog( intf_dialog_args_t * );
- void simpleOpenDialog();
+ void simpleOpenDialog( bool start = true );
void openDialog();
void openDiscDialog();
More information about the vlc-commits
mailing list