mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
osx doesn't like hidden widgets added to layouts and shown later
This commit is contained in:
@@ -29,6 +29,9 @@ public:
|
|||||||
DelegateConfigWrapper( QWidget* conf, const QString& title, QWidget* parent, Qt::WindowFlags flags = 0 ) : QDialog( parent, flags ), m_widget( conf )
|
DelegateConfigWrapper( QWidget* conf, const QString& title, QWidget* parent, Qt::WindowFlags flags = 0 ) : QDialog( parent, flags ), m_widget( conf )
|
||||||
{
|
{
|
||||||
m_widget->setWindowFlags( Qt::Sheet );
|
m_widget->setWindowFlags( Qt::Sheet );
|
||||||
|
#ifdef Q_OS_MAC
|
||||||
|
m_widget->setVisible( true );
|
||||||
|
#endif
|
||||||
|
|
||||||
setWindowTitle( title );
|
setWindowTitle( title );
|
||||||
QVBoxLayout* v = new QVBoxLayout( this );
|
QVBoxLayout* v = new QVBoxLayout( this );
|
||||||
|
Reference in New Issue
Block a user