diff --git a/src/SocialWidget.cpp b/src/SocialWidget.cpp index a2854e780..288bf5364 100644 --- a/src/SocialWidget.cpp +++ b/src/SocialWidget.cpp @@ -41,9 +41,9 @@ SocialWidget::SocialWidget( QWidget* parent ) { ui->setupUi( this ); #ifndef Q_OS_WIN - setWindowFlags( Qt::FramelessWindowHint ); - setWindowFlags( Qt::Popup ); + setWindowFlags( Qt::FramelessWindowHint ); //this causes ugly black shadows on Windows #endif + setWindowFlags( Qt::Popup ); setAttribute( Qt::WA_TranslucentBackground, true ); TomahawkUtils::unmarginLayout( layout() ); diff --git a/src/libtomahawk/widgets/SourceTreePopupDialog.cpp b/src/libtomahawk/widgets/SourceTreePopupDialog.cpp index 5d17c8e8a..551e3a857 100644 --- a/src/libtomahawk/widgets/SourceTreePopupDialog.cpp +++ b/src/libtomahawk/widgets/SourceTreePopupDialog.cpp @@ -112,6 +112,9 @@ SourceTreePopupDialog::SourceTreePopupDialog() background-color: #D35052; \ border-style: flat; \ }" );*/ +#ifdef Q_OS_WIN + setMask( geometry() ); +#endif } void