1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-11 08:34:34 +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 );
setWindowFlags( Qt::FramelessWindowHint );
#ifndef Q_OS_WIN
setWindowFlags( Qt::Popup );
#endif
setAttribute( Qt::WA_TranslucentBackground, true );
TomahawkUtils::unmarginLayout( layout() );