┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kitemlistcontroller.h
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2013-10-13 10:55:21 +0200
committerFrank Reininghaus <[email protected]>2013-10-13 10:55:21 +0200
commit96ba990d865b2dfb966961061ba5154dcd3187b4 (patch)
treebe30166c2fb23ce9c2cce8afb42ef88f22770497 /src/kitemviews/kitemlistcontroller.h
parent0c55297ce40847a9af1e00f233c3943f66ab577f (diff)
Fix crash when triggereing the "Compare files" action via D-Bus
If the number of selected items is not two, Dolphin disables this action. However, it is still possible to trigger it via D-Bus, and this could cause a crash in DolphinMainWindow::compareFiles() because this function did not test at all if there are really two items selected. This patch adds such a check and simplifies the code in that function. BUG: 325517 FIXED-IN: 4.11.3
Diffstat (limited to 'src/kitemviews/kitemlistcontroller.h')
0 files changed, 0 insertions, 0 deletions