MCPcopy Create free account
hub / github.com/KDE/kdiff3 / slotCompareWith

Method slotCompareWith

kdiff3fileitemactionplugin/kdiff3fileitemaction.cpp:172–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170KDiff3FileItemAction::~KDiff3FileItemAction() = default;
171
172void KDiff3FileItemAction::slotCompareWith()
173{
174 if(m_list.count() > 0 && s_pHistory && !s_pHistory->empty())
175 {
176 QStringList args = {
177 s_pHistory->first(),
178 Utils::urlToString(m_list.first())
179 };
180 QProcess::startDetached("kdiff3", args);
181 }
182}
183
184void KDiff3FileItemAction::slotCompareWithHistoryItem()
185{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected