mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 03:10:12 +02:00
Attempt to fix popup borders on Windows.
This commit is contained in:
@@ -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 );
|
||||
|
||||
|
Reference in New Issue
Block a user