1
0
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:
Christian Muehlhaeuser 2013-01-20 06:38:00 +01:00
parent 994f59440d
commit 60239668a7

View File

@ -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 );