| 247 | } |
| 248 | |
| 249 | void KDiff3FileItemAction::slotSaveForLater() |
| 250 | { |
| 251 | if(!m_list.isEmpty() && s_pHistory) |
| 252 | { |
| 253 | while(s_pHistory->count() >= 10) |
| 254 | { |
| 255 | s_pHistory->removeLast(); |
| 256 | } |
| 257 | const QString file = Utils::urlToString(m_list.first()); |
| 258 | s_pHistory->removeAll(file); |
| 259 | s_pHistory->prepend(file); |
| 260 | } |
| 261 | } |
| 262 | |
| 263 | void KDiff3FileItemAction::slotClearList() |
| 264 | { |