[vlc-commits] [Git][videolan/vlc][master] qt: remove QDirModel include
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Sun May 7 12:03:19 UTC 2023
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
9d4e884c by Ilkka Ollakka at 2023-05-07T11:46:32+00:00
qt: remove QDirModel include
It has been deprecated since qt4.7 and only use seemed to be in commented out code
- - - - -
1 changed file:
- modules/gui/qt/dialogs/open/open_panels.cpp
Changes:
=====================================
modules/gui/qt/dialogs/open/open_panels.cpp
=====================================
@@ -51,7 +51,6 @@
#include <QLineEdit>
#include <QStackedLayout>
#include <QCompleter>
-#include <QDirModel>
#include <QScrollArea>
#include <QUrl>
#include <QMimeData>
@@ -88,21 +87,6 @@ FileOpenPanel::FileOpenPanel( QWidget *_parent, qt_intf_t *_p_intf ) :
setAcceptDrops( true );
- /* Set Filters for file selection */
-/* QString fileTypes = "";
- ADD_FILTER_MEDIA( fileTypes );
- ADD_FILTER_VIDEO( fileTypes );
- ADD_FILTER_AUDIO( fileTypes );
- ADD_FILTER_PLAYLIST( fileTypes );
- ADD_FILTER_ALL( fileTypes );
- fileTypes.replace( QString(";*"), QString(" *")); */
-
-
-/* lineFileEdit = ui.fileEdit;
- //TODO later: fill the fileCompleteList with previous items played.
- QCompleter *fileCompleter = new QCompleter( fileCompleteList, this );
- fileCompleter->setModel( new QDirModel( fileCompleter ) );
- lineFileEdit->setCompleter( fileCompleter );*/
if( var_InheritBool( p_intf, "qt-embedded-open" ) )
{
ui.tempWidget->hide();
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9d4e884c7452f1919dfc1d264c683778cc60d630
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9d4e884c7452f1919dfc1d264c683778cc60d630
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list