diff --git a/src/SocialWidget.cpp b/src/SocialWidget.cpp index c3ec307d6..12605c5e3 100644 --- a/src/SocialWidget.cpp +++ b/src/SocialWidget.cpp @@ -251,7 +251,7 @@ SocialWidget::onGeometryUpdate() QPoint position( m_position - QPoint( size().width(), size().height() ) + QPoint( 2 + ARROW_HEIGHT * 3, 0 ) ); #ifdef Q_OS_WIN - position.ry() -= 12 + ARROW_HEIGHT; + position.ry() -= ARROW_HEIGHT; #endif if ( position != pos() ) { diff --git a/src/libtomahawk/widgets/SourceTreePopupDialog.cpp b/src/libtomahawk/widgets/SourceTreePopupDialog.cpp index 92487ac24..6833b81a3 100644 --- a/src/libtomahawk/widgets/SourceTreePopupDialog.cpp +++ b/src/libtomahawk/widgets/SourceTreePopupDialog.cpp @@ -44,7 +44,9 @@ SourceTreePopupDialog::SourceTreePopupDialog() , m_label( 0 ) , m_buttons( 0 ) { +#ifndef Q_OS_WIN setWindowFlags( Qt::FramelessWindowHint ); +#endif setWindowFlags( Qt::Popup ); setAutoFillBackground( false ); @@ -217,10 +219,6 @@ SourceTreePopupDialog::paintEvent( QPaintEvent* event ) // invalidated. SourceTreePopupHelper::clearBackground( this ); #endif -#ifdef Q_OS_WIN - QRegion bubble = QRegion( outline.toFillPolygon().toPolygon(), Qt::WindingFill ); - setMask( bubble ); -#endif }