1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-19 12:21:52 +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
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();
if( row == -1 && column == -1 )
item = itemFromIndex( parent );