GUI: SelectFilesDialog: Changed text for OK button to 'Check'

This commit is contained in:
Daniel Marjamäki 2012-01-13 06:33:10 +01:00
parent d8a1a693d5
commit bcd04dd79e
1 changed files with 5 additions and 0 deletions

View File

@ -148,6 +148,11 @@ SelectFilesDialog::SelectFilesDialog(QWidget *w) :
ui->treeView->setModel(selectfilesmodel);
for (int i = 1; i < 4; ++i)
ui->treeView->setColumnHidden(i, true);
// Change text of "OK" button to "Check"
QPushButton *okbutton = ui->buttonBox->button(QDialogButtonBox::Ok);
if (okbutton)
okbutton->setText(tr("Check"));
}
SelectFilesDialog::~SelectFilesDialog()