diff options
| author | Peter Penz <[email protected]> | 2012-02-15 16:10:01 +0100 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-02-15 16:20:47 +0100 |
| commit | 749362987b9617ddfc461b647ac436be5a6eaca4 (patch) | |
| tree | fa4f943872d44450d946e2ad4ea05ffd264e9b6b /src/panels/folders/folderspanel.cpp | |
| parent | cf72e481110d76081d1757dc89da5d8f68627b19 (diff) | |
Folders Panel: Use the whole width as selection region
As no rubberband-selection is enabled for the Folders Panel it does
not make sense to keep the selection region as small as possible.
BUG: 294111
FIXED-IN: 4.8.1
Diffstat (limited to 'src/panels/folders/folderspanel.cpp')
| -rw-r--r-- | src/panels/folders/folderspanel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/panels/folders/folderspanel.cpp b/src/panels/folders/folderspanel.cpp index cc7c75f96..58dd7904d 100644 --- a/src/panels/folders/folderspanel.cpp +++ b/src/panels/folders/folderspanel.cpp @@ -146,6 +146,7 @@ void FoldersPanel::showEvent(QShowEvent* event) KItemListStyleOption styleOption = view->styleOption(); styleOption.padding = 2; styleOption.iconSize = KIconLoader::SizeSmall; + styleOption.extendedSelectionRegion = true; view->setStyleOption(styleOption); const qreal itemHeight = qMax(int(KIconLoader::SizeSmall), styleOption.fontMetrics.height()); |
