diff --git a/src/libtomahawk/playlist/playlistmodel.cpp b/src/libtomahawk/playlist/playlistmodel.cpp index 41f7af7b5..2706d303e 100644 --- a/src/libtomahawk/playlist/playlistmodel.cpp +++ b/src/libtomahawk/playlist/playlistmodel.cpp @@ -419,6 +419,14 @@ PlaylistModel::parsedDroppedTracks( QList< query_ptr > tracks ) } emit endInsertRows(); + // Work around Qt-on-mac bug where drags from outside the app are Qt::MoveAction + // instead of Qt::CopyAction + // Samething seems to be applying to Linux + // However, this workaround updates the playlist revision on reorder aswell... +#ifdef Q_WS_MAC + if ( m_dropStorage.action & Qt::CopyAction || m_dropStorage.action & Qt::MoveAction ) +#else +#ifdef Q_OS_LINUX if ( m_dropStorage.action & Qt::CopyAction || m_dropStorage.action & Qt::MoveAction ) { onPlaylistChanged(); diff --git a/src/sourcetree/animationhelper.cpp b/src/sourcetree/animationhelper.cpp index 933cfebee..3e280f15f 100644 --- a/src/sourcetree/animationhelper.cpp +++ b/src/sourcetree/animationhelper.cpp @@ -68,7 +68,7 @@ void AnimationHelper::setSize( const QSize& size ) { m_size = size; emit sizeChanged(); - qDebug() << "animaton setting size to" << size; + //qDebug() << "animaton setting size to" << size; } void AnimationHelper::expand() diff --git a/src/sourcetree/sourcetreeview.cpp b/src/sourcetree/sourcetreeview.cpp index 5d4865ca3..00c04cfe6 100644 --- a/src/sourcetree/sourcetreeview.cpp +++ b/src/sourcetree/sourcetreeview.cpp @@ -267,7 +267,7 @@ SourceTreeView::addToSpotify( ) PlaylistItem* item = itemFromIndex< PlaylistItem >( idx ); playlist_ptr playlist = item->playlist(); qDebug() << Q_FUNC_INFO << "Static playlist" << playlist->title(); - // Do something with playlist -> spotify + // Do something with playlist -> spotify() } else if( type == SourcesModel::AutomaticPlaylist || type == SourcesModel::Station ) {