Revision 42c26b1...

Go back to digest for 20th October 2013

Bug Fixes in KDE Base

Frank Reininghaus committed changes in [kde-baseapps/KDE/4.11] dolphin/src/dolphinmainwindow.cpp:

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.

FIXED-IN: 4.11.3

File Changes

Modified 1 files
  • dolphin/src/dolphinmainwindow.cpp
1 files changed in total