Added button icons for ok/cancel buttons on Qt select from zip archive window.
This commit is contained in:
parent
56c0d30f83
commit
d5fd976ccf
|
@ -2322,6 +2322,11 @@ int consoleWin_t::showListSelectDialog( const char *title, std::vector <std::st
|
|||
connect( okButton, SIGNAL(clicked(void)), &dialog, SLOT(accept(void)) );
|
||||
connect( cancelButton, SIGNAL(clicked(void)), &dialog, SLOT(reject(void)) );
|
||||
|
||||
okButton->setIcon( style()->standardIcon( QStyle::SP_DialogOkButton ) );
|
||||
cancelButton->setIcon( style()->standardIcon( QStyle::SP_DialogCancelButton ) );
|
||||
|
||||
okButton->setDefault(true);
|
||||
|
||||
dialog.setLayout( mainLayout );
|
||||
|
||||
ret = dialog.exec();
|
||||
|
|
Loading…
Reference in New Issue