| 182 | } |
| 183 | |
| 184 | void KDiff3FileItemAction::slotCompareWithHistoryItem() |
| 185 | { |
| 186 | const QAction* pAction = dynamic_cast<const QAction*>(sender()); |
| 187 | if(!m_list.isEmpty() && pAction) |
| 188 | { |
| 189 | QStringList args = { |
| 190 | pAction->data().toString(), |
| 191 | Utils::urlToString(m_list.first()) |
| 192 | }; |
| 193 | QProcess::startDetached("kdiff3", args); |
| 194 | } |
| 195 | } |
| 196 | |
| 197 | void KDiff3FileItemAction::slotCompareTwoFiles() |
| 198 | { |