| 1092 | } |
| 1093 | |
| 1094 | void 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 | |
| 1107 | void MainWindow::setMemDocks() { |
| 1108 | QStringList names = m_config->value(SETTING_WINDOW_MEMORY_DOCKS).toStringList(); |