diff --git a/src/libtomahawk/widgets/SourceTreePopupDialog.cpp b/src/libtomahawk/widgets/SourceTreePopupDialog.cpp index e0a406bff..2caae1fde 100644 --- a/src/libtomahawk/widgets/SourceTreePopupDialog.cpp +++ b/src/libtomahawk/widgets/SourceTreePopupDialog.cpp @@ -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 );