mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-21 13:21:52 +02:00
Trying some alternative fixes for the popup shadow issue on Windows.
This commit is contained in:
@@ -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() );
|
||||
|
@@ -112,6 +112,9 @@ SourceTreePopupDialog::SourceTreePopupDialog()
|
||||
background-color: #D35052; \
|
||||
border-style: flat; \
|
||||
}" );*/
|
||||
#ifdef Q_OS_WIN
|
||||
setMask( geometry() );
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user