[vlc-commits] qt: Remove stray debug printf()
Hugo Beauzée-Luyssen
git at videolan.org
Fri Jan 10 15:34:06 CET 2020
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Jan 10 15:33:08 2020 +0100| [1b569d1f1d668b84e1649124d9a4b6f46f8b163f] | committer: Hugo Beauzée-Luyssen
qt: Remove stray debug printf()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1b569d1f1d668b84e1649124d9a4b6f46f8b163f
---
modules/gui/qt/network/networkmediamodel.cpp | 3 ---
1 file changed, 3 deletions(-)
diff --git a/modules/gui/qt/network/networkmediamodel.cpp b/modules/gui/qt/network/networkmediamodel.cpp
index 4acf17a8bc..676552c94d 100644
--- a/modules/gui/qt/network/networkmediamodel.cpp
+++ b/modules/gui/qt/network/networkmediamodel.cpp
@@ -104,7 +104,6 @@ Qt::ItemFlags NetworkMediaModel::flags( const QModelIndex& idx ) const
bool NetworkMediaModel::setData( const QModelIndex& idx, const QVariant& value, int role )
{
- printf("NetworkMediaModel::setData `\n");
if (!m_ml)
return false;
@@ -113,7 +112,6 @@ bool NetworkMediaModel::setData( const QModelIndex& idx, const QVariant& value,
auto enabled = value.toBool();
if ( m_items[idx.row()].indexed == enabled )
return false;
- printf("NetworkMediaModel::setData change indexed`\n");
int res;
if ( enabled )
res = vlc_ml_add_folder( m_ml, qtu( m_items[idx.row()].mainMrl.toString( QUrl::None ) ) );
@@ -131,7 +129,6 @@ void NetworkMediaModel::setIndexed(bool indexed)
return;
int res;
if ( indexed ) {
- printf("add folder %s\n", qtu( m_url.toString( QUrl::FullyEncoded ) ));
res = vlc_ml_add_folder( m_ml, qtu( m_url.toString( QUrl::FullyEncoded ) ) );
} else
res = vlc_ml_remove_folder( m_ml, qtu( m_url.toString( QUrl::FullyEncoded ) ) );
More information about the vlc-commits
mailing list