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 );
|
ui->setupUi( this );
|
||||||
#ifndef Q_OS_WIN
|
#ifndef Q_OS_WIN
|
||||||
setWindowFlags( Qt::FramelessWindowHint );
|
setWindowFlags( Qt::FramelessWindowHint ); //this causes ugly black shadows on Windows
|
||||||
setWindowFlags( Qt::Popup );
|
|
||||||
#endif
|
#endif
|
||||||
|
setWindowFlags( Qt::Popup );
|
||||||
setAttribute( Qt::WA_TranslucentBackground, true );
|
setAttribute( Qt::WA_TranslucentBackground, true );
|
||||||
|
|
||||||
TomahawkUtils::unmarginLayout( layout() );
|
TomahawkUtils::unmarginLayout( layout() );
|
||||||
|
@@ -112,6 +112,9 @@ SourceTreePopupDialog::SourceTreePopupDialog()
|
|||||||
background-color: #D35052; \
|
background-color: #D35052; \
|
||||||
border-style: flat; \
|
border-style: flat; \
|
||||||
}" );*/
|
}" );*/
|
||||||
|
#ifdef Q_OS_WIN
|
||||||
|
setMask( geometry() );
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Reference in New Issue
Block a user