| 1656 | } |
| 1657 | |
| 1658 | bool MainWindow::runSetup() { |
| 1659 | RomSelection *romWizard = new RomSelection(); |
| 1660 | romWizard->setWindowModality(Qt::NonModal); |
| 1661 | romWizard->exec(); |
| 1662 | |
| 1663 | const QString path = romWizard->getRomPath(); |
| 1664 | |
| 1665 | delete romWizard; |
| 1666 | |
| 1667 | if (path.isEmpty()) { |
| 1668 | return false; |
| 1669 | } else { |
| 1670 | setRom(path); |
| 1671 | } |
| 1672 | |
| 1673 | return true; |
| 1674 | } |
| 1675 | |
| 1676 | void MainWindow::screenshotSave(const QString& nameFilter, const QString& defaultSuffix, const QString& temppath) { |
| 1677 | QFileDialog dialog(this); |
nothing calls this directly
no test coverage detected