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