diff --git a/src/SocialWidget.cpp b/src/SocialWidget.cpp index ae0d319a4..e9085a715 100644 --- a/src/SocialWidget.cpp +++ b/src/SocialWidget.cpp @@ -242,9 +242,7 @@ SocialWidget::onGeometryUpdate() QPoint position( m_position - QPoint( size().width(), size().height() ) + QPoint( 2 + ARROW_HEIGHT * 3, 0 ) ); -#ifdef Q_OS_WIN - position.ry() -= 18/*margins I guess*/ + ARROW_HEIGHT; -#endif + if ( position != pos() ) { move( position ); diff --git a/src/sourcetree/SourceTreeView.cpp b/src/sourcetree/SourceTreeView.cpp index f8145d9ac..41a572e1c 100644 --- a/src/sourcetree/SourceTreeView.cpp +++ b/src/sourcetree/SourceTreeView.cpp @@ -377,9 +377,6 @@ SourceTreeView::deletePlaylist( const QModelIndex& idxIn ) PlaylistItem* item = itemFromIndex< PlaylistItem >( idx ); playlist_ptr playlist = item->playlist(); QPoint rightCenter = viewport()->mapToGlobal( visualRect( idx ).topRight() + QPoint( 0, visualRect( idx ).height() / 2 ) ); -#ifdef Q_OS_WIN - rightCenter = QApplication::activeWindow()->mapFromGlobal( rightCenter ); -#endif if ( playlist->hasCustomDeleter() ) {