1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-07 06:36:55 +02:00

* Get rid of qDebug usage in TreeView.

This commit is contained in:
Christian Muehlhaeuser
2013-01-12 04:35:14 +01:00
parent 175ef4f03a
commit 7c462f8ff0

View File

@@ -111,7 +111,7 @@ void
TreeView::setModel( QAbstractItemModel* model ) TreeView::setModel( QAbstractItemModel* model )
{ {
Q_UNUSED( model ); Q_UNUSED( model );
qDebug() << "Explicitly use setPlaylistModel instead"; tDebug() << "Explicitly use setPlaylistModel instead";
Q_ASSERT( false ); Q_ASSERT( false );
} }
@@ -335,7 +335,7 @@ TreeView::startDrag( Qt::DropActions supportedActions )
if ( indexes.count() == 0 ) if ( indexes.count() == 0 )
return; return;
qDebug() << "Dragging" << indexes.count() << "indexes"; tDebug( LOGVERBOSE ) << "Dragging" << indexes.count() << "indexes";
QMimeData* data = m_proxyModel->mimeData( indexes ); QMimeData* data = m_proxyModel->mimeData( indexes );
if ( !data ) if ( !data )
return; return;