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

Method stateLoadInfo

gui/qt/settings.cpp:993–1002  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

991}
992
993void MainWindow::stateLoadInfo() {
994 QStringList slotNames = m_config->value(SETTING_SLOT_NAMES).toStringList();
995 QStringList slotPaths = m_config->value(SETTING_SLOT_PATHS).toStringList();
996
997 for (int i = 0; i < slotNames.size(); i++) {
998 QString name = slotNames.at(i);
999 QString path = slotPaths.at(i);
1000 stateAdd(name, path);
1001 }
1002}
1003
1004void MainWindow::setRecentSave(bool state) {
1005 ui->checkSaveRecent->setChecked(state);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected