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:
parent
68d2bf9637
commit
aee9ef58f4
@ -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 );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user