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

Method recentLoadInfo

gui/qt/settings.cpp:1094–1105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1092}
1093
1094void MainWindow::recentLoadInfo() {
1095 QStringList paths = m_config->value(SETTING_RECENT_PATHS).toStringList();
1096 QStringList selects = m_config->value(SETTING_RECENT_SELECT).toStringList();
1097
1098 if (m_config->value(SETTING_RECENT_SAVE).toBool()) {
1099 for (int i = 0; i < paths.size(); i++) {
1100 const QString path = paths.at(i);
1101 bool select = selects.at(i) == TXT_YES;
1102 sendingHandler->addFile(path, select);
1103 }
1104 }
1105}
1106
1107void MainWindow::setMemDocks() {
1108 QStringList names = m_config->value(SETTING_WINDOW_MEMORY_DOCKS).toStringList();

Callers

nothing calls this directly

Calls 1

addFileMethod · 0.80

Tested by

no test coverage detected