1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-20 04:41:36 +02:00

Initialize variable.

This commit is contained in:
Frank Osterfeld
2011-05-29 20:56:49 +02:00
parent 8dbdf728b1
commit eef99c9e39

View File

@@ -194,7 +194,7 @@ SourcesModel::mimeData( const QModelIndexList& ) const
bool bool
SourcesModel::dropMimeData( const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent ) SourcesModel::dropMimeData( const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent )
{ {
SourceTreeItem* item; SourceTreeItem* item = 0;
qDebug() << "Got mime data dropped:" << row << column << parent << itemFromIndex( parent )->text(); qDebug() << "Got mime data dropped:" << row << column << parent << itemFromIndex( parent )->text();
if( row == -1 && column == -1 ) if( row == -1 && column == -1 )
item = itemFromIndex( parent ); item = itemFromIndex( parent );