Skip to content
Commit f36cc4de authored by Ragnar Thomsen's avatar Ragnar Thomsen
Browse files

Only open preview when clicking files if CTRL or SHIFT is not pressed

Add a slotClicked() slot and connect it to the clicked() signal of the
QTreeView. The slot only calls slotPreviewWithInternalViewer() if CTRL
or SHIFT is not pressed simultaneously. This fixes selection of multiple
files and also enables deselection of a file by holding CTRL and
clicking it. This is more consistent with the usual behavior of desktop
applications.
BUG: 344640
FIXED-IN: 15.07.80
parent 5168dd00
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment