From 641759c362b0f87ce6e2cdc5fb6c6ee6f08114a0 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Sun, 13 Nov 2011 15:49:59 -0500 Subject: [PATCH] Hide connect warning --- src/delegateconfigwrapper.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/delegateconfigwrapper.h b/src/delegateconfigwrapper.h index aab8a5561..5419c8f9a 100644 --- a/src/delegateconfigwrapper.h +++ b/src/delegateconfigwrapper.h @@ -52,7 +52,8 @@ public: setMinimumSize( sizeHint() ); setMaximumSize( sizeHint() ); // to remove the resize grip on osx this is the only way - connect( conf, SIGNAL( sizeHintChanged() ), this, SLOT( updateSizeHint() ) ); + if( conf->metaObject()->indexOfSignal( "sizeHintChanged()" ) > -1 ) + connect( conf, SIGNAL( sizeHintChanged() ), this, SLOT( updateSizeHint() ) ); #else m_widget->setVisible( true ); #endif