| 40 | settings->setValue(QUICK_NAVI_MODE, false); |
| 41 | } |
| 42 | void Configuration::updateOpenRecentList(QString path) |
| 43 | { |
| 44 | QStringList list = openRecentList(); |
| 45 | list.removeAll(path); |
| 46 | list.prepend(path); |
| 47 | // TODO: Make list lenght configurable |
| 48 | while (list.length() > getOpenRecentSize()) { |
| 49 | list.removeLast(); |
| 50 | } |
| 51 | settings->setValue("recentFiles", list); |
| 52 | } |
no test coverage detected