From e5bdab9f9b7ba4bdbd091518d58ae22da2425f2d Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Sat, 4 Jun 2011 19:55:56 -0400 Subject: [PATCH] osx doesn't like hidden widgets added to layouts and shown later --- src/delegateconfigwrapper.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/delegateconfigwrapper.h b/src/delegateconfigwrapper.h index b7986ba88..1c93e7f71 100644 --- a/src/delegateconfigwrapper.h +++ b/src/delegateconfigwrapper.h @@ -29,6 +29,9 @@ public: DelegateConfigWrapper( QWidget* conf, const QString& title, QWidget* parent, Qt::WindowFlags flags = 0 ) : QDialog( parent, flags ), m_widget( conf ) { m_widget->setWindowFlags( Qt::Sheet ); +#ifdef Q_OS_MAC + m_widget->setVisible( true ); +#endif setWindowTitle( title ); QVBoxLayout* v = new QVBoxLayout( this );