| 2745 | } |
| 2746 | |
| 2747 | void MainWindow::stateAddNew() { |
| 2748 | QString name = randomString(6); |
| 2749 | QString path = QDir::cleanPath(QFileInfo(m_config->fileName()).absoluteDir().absolutePath() + QStringLiteral("/") + name + QStringLiteral(".ce")); |
| 2750 | stateAdd(name, path); |
| 2751 | } |
| 2752 | |
| 2753 | void MainWindow::stateAdd(QString &name, QString &path) { |
| 2754 | const int row = ui->slotView->rowCount(); |
nothing calls this directly
no test coverage detected