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:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user