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

Method setKeyHistoryDocks

gui/qt/settings.cpp:1134–1145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1132}
1133
1134void MainWindow::setKeyHistoryDocks() {
1135 QStringList names = m_config->value(SETTING_WINDOW_KEYHISTORY_DOCKS).toStringList();
1136 QList<int> sizes = m_config->value(SETTING_WINDOW_KEYHISTORY_CONFIG).value<QList<int>>();
1137
1138 if (names.length() != sizes.length()) {
1139 return;
1140 }
1141
1142 for (int i = 0; i < names.length(); i++) {
1143 addKeyHistoryDock(names.at(i), sizes.at(i));
1144 }
1145}
1146
1147
1148void MainWindow::addKeyHistoryDock(const QString &magic, int size) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected