| 1132 | } |
| 1133 | |
| 1134 | void 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 | |
| 1148 | void MainWindow::addKeyHistoryDock(const QString &magic, int size) { |
nothing calls this directly
no outgoing calls
no test coverage detected