mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-23 01:09:42 +01:00
* No need to check for HEADLESS in a widget.
This commit is contained in:
parent
994f59440d
commit
60239668a7
@ -46,9 +46,7 @@ SourceTreePopupDialog::SourceTreePopupDialog()
|
||||
, m_label( 0 )
|
||||
, m_buttons( 0 )
|
||||
{
|
||||
#ifndef ENABLE_HEADLESS
|
||||
setParent( QApplication::activeWindow() );
|
||||
#endif
|
||||
setWindowFlags( Qt::Popup | Qt::FramelessWindowHint );
|
||||
|
||||
setAutoFillBackground( false );
|
||||
|
Loading…
x
Reference in New Issue
Block a user