1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-09 15:47:38 +02:00

remove useless assert

This commit is contained in:
Michael Zanetti
2012-08-03 18:46:08 +02:00
parent 8e91ab63ca
commit 012bb49328

View File

@@ -729,7 +729,6 @@ PlayableModel::finishLoading()
PlayableItem*
PlayableModel::itemFromIndex( const QModelIndex& index ) const
{
Q_ASSERT(index.isValid());
if ( index.isValid() )
{
return static_cast<PlayableItem*>( index.internalPointer() );