mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* No need to check for HEADLESS in a widget.
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user