mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-09-03 10:53:39 +02:00
remove useless assert
This commit is contained in:
committed by
Michael Zanetti
parent
166d83539a
commit
39b9efd581
@@ -729,7 +729,6 @@ PlayableModel::finishLoading()
|
|||||||
PlayableItem*
|
PlayableItem*
|
||||||
PlayableModel::itemFromIndex( const QModelIndex& index ) const
|
PlayableModel::itemFromIndex( const QModelIndex& index ) const
|
||||||
{
|
{
|
||||||
Q_ASSERT(index.isValid());
|
|
||||||
if ( index.isValid() )
|
if ( index.isValid() )
|
||||||
{
|
{
|
||||||
return static_cast<PlayableItem*>( index.internalPointer() );
|
return static_cast<PlayableItem*>( index.internalPointer() );
|
||||||
|
Reference in New Issue
Block a user