void MainWindow::on_actionAbout_triggered() { AboutDialog aboutDialog; aboutDialog.setModal(true); aboutDialog.exec(); }
void BaseWindow::showAbout() { AboutDialog *ad = new AboutDialog(this); ad->setModal(true); ad->show(); }