1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-09-02 10:24:01 +02:00

remove useless assert

This commit is contained in:
Michael Zanetti
2012-08-03 18:46:08 +02:00
committed by Michael Zanetti
parent 166d83539a
commit 39b9efd581

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() );