mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 22:26:32 +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_label( 0 )
|
||||||
, m_buttons( 0 )
|
, m_buttons( 0 )
|
||||||
{
|
{
|
||||||
#ifndef ENABLE_HEADLESS
|
|
||||||
setParent( QApplication::activeWindow() );
|
setParent( QApplication::activeWindow() );
|
||||||
#endif
|
|
||||||
setWindowFlags( Qt::Popup | Qt::FramelessWindowHint );
|
setWindowFlags( Qt::Popup | Qt::FramelessWindowHint );
|
||||||
|
|
||||||
setAutoFillBackground( false );
|
setAutoFillBackground( false );
|
||||||
|
Reference in New Issue
Block a user