1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-12 00:54:20 +02:00

Try to fix the black borders on SocialWidget on Windows.

This commit is contained in:
Teo Mrnjavac
2012-11-17 19:39:45 +01:00
parent 7174375e54
commit 3ec1ddda0f

View File

@@ -41,7 +41,9 @@ SocialWidget::SocialWidget( QWidget* parent )
{ {
ui->setupUi( this ); ui->setupUi( this );
setWindowFlags( Qt::FramelessWindowHint ); setWindowFlags( Qt::FramelessWindowHint );
#ifndef Q_OS_WIN
setWindowFlags( Qt::Popup ); setWindowFlags( Qt::Popup );
#endif
setAttribute( Qt::WA_TranslucentBackground, true ); setAttribute( Qt::WA_TranslucentBackground, true );
TomahawkUtils::unmarginLayout( layout() ); TomahawkUtils::unmarginLayout( layout() );