mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-16 02:54:33 +02:00
Try to fix ugly shadow on SocialWidget on Windows, take 2.
This commit is contained in:
@@ -40,8 +40,8 @@ SocialWidget::SocialWidget( QWidget* parent )
|
|||||||
, m_parentRect( parent->rect() )
|
, m_parentRect( parent->rect() )
|
||||||
{
|
{
|
||||||
ui->setupUi( this );
|
ui->setupUi( this );
|
||||||
setWindowFlags( Qt::FramelessWindowHint );
|
|
||||||
#ifndef Q_OS_WIN
|
#ifndef Q_OS_WIN
|
||||||
|
setWindowFlags( Qt::FramelessWindowHint );
|
||||||
setWindowFlags( Qt::Popup );
|
setWindowFlags( Qt::Popup );
|
||||||
#endif
|
#endif
|
||||||
setAttribute( Qt::WA_TranslucentBackground, true );
|
setAttribute( Qt::WA_TranslucentBackground, true );
|
||||||
|
Reference in New Issue
Block a user