QGridLayout *layout = new QGridLayout( this );
QPushButton *closeButton = new QPushButton( qtr( "&Cancel" ) );
QGridLayout *layout = new QGridLayout( this );
QPushButton *closeButton = new QPushButton( qtr( "&Cancel" ) );
QDialogButtonBox *buttonBox = new QDialogButtonBox( Qt::Horizontal );
buttonBox->addButton( updateButton, QDialogButtonBox::ActionRole );
buttonBox->addButton( closeButton, QDialogButtonBox::AcceptRole );
QDialogButtonBox *buttonBox = new QDialogButtonBox( Qt::Horizontal );
buttonBox->addButton( updateButton, QDialogButtonBox::ActionRole );
buttonBox->addButton( closeButton, QDialogButtonBox::AcceptRole );
layout->addWidget( buttonBox, 1, 0 );
BUTTONACT( updateButton, UpdateOrDownload() );
layout->addWidget( buttonBox, 1, 0 );
BUTTONACT( updateButton, UpdateOrDownload() );
- readSettings( "Update", QSize( 120, 80 ) );
+ setMinimumSize( 200, 100 );
+ readSettings( "Update", QSize( 200, 100 ) );