diff options
| author | Frank Reininghaus <[email protected]> | 2013-10-13 10:55:21 +0200 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2013-10-13 10:55:21 +0200 |
| commit | 96ba990d865b2dfb966961061ba5154dcd3187b4 (patch) | |
| tree | be30166c2fb23ce9c2cce8afb42ef88f22770497 /src/dolphinmainwindow.h | |
| parent | 0c55297ce40847a9af1e00f233c3943f66ab577f (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/dolphinmainwindow.h')
0 files changed, 0 insertions, 0 deletions
