1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 11:20:22 +02:00

Try to avoid showing the window before placing it

This commit is contained in:
Leo Franchi
2011-06-02 17:24:44 -04:00
parent e130fc41ed
commit 59452f6163

View File

@@ -28,7 +28,6 @@ class DelegateConfigWrapper : public QDialog
public:
DelegateConfigWrapper( QWidget* conf, const QString& title, QWidget* parent, Qt::WindowFlags flags = 0 ) : QDialog( parent, flags ), m_widget( conf )
{
m_widget->setVisible( true );
m_widget->setWindowFlags( Qt::Sheet );
setWindowTitle( title );
@@ -50,6 +49,7 @@ public:
connect( conf, SIGNAL( sizeHintChanged() ), this, SLOT( updateSizeHint() ) );
#endif
m_widget->setVisible( true );
}
public slots:
void closed( QAbstractButton* b )