MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / stateAddNew

Method stateAddNew

gui/qt/mainwindow.cpp:2747–2751  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2745}
2746
2747void 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
2753void MainWindow::stateAdd(QString &name, QString &path) {
2754 const int row = ui->slotView->rowCount();

Callers

nothing calls this directly

Calls 1

randomStringFunction · 0.85

Tested by

no test coverage detected