1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-14 04:51:53 +02:00

Attempt to fix popup borders on Windows.

This commit is contained in:
Teo Mrnjavac 2012-12-04 20:37:35 +01:00
parent 68d2bf9637
commit aee9ef58f4

View File

@ -35,15 +35,15 @@ AccountsPopupWidget::AccountsPopupWidget( QWidget* parent )
, m_widget( 0 )
, m_arrowOffset( 0 )
{
#ifndef Q_OS_WIN
setWindowFlags( Qt::FramelessWindowHint );
#endif
setWindowFlags( Qt::Popup );
//Uncomment this if using a debugger:
//setWindowFlags( Qt::Window );
setAutoFillBackground( false );
setAttribute( Qt::WA_TranslucentBackground, true );
setAttribute( Qt::WA_NoSystemBackground, true );
setSizePolicy( QSizePolicy::Preferred, QSizePolicy::Minimum );