if(!currentPage()) return;
int ret = QMessageBox::question(this, tr("Restore Defaults"), tr("Do you like to restore the default values for this page?"),
QMessageBox::RestoreDefaults|QMessageBox::Cancel, QMessageBox::Cancel);
if(!currentPage()) return;
int ret = QMessageBox::question(this, tr("Restore Defaults"), tr("Do you like to restore the default values for this page?"),
QMessageBox::RestoreDefaults|QMessageBox::Cancel, QMessageBox::Cancel);