diff options
author | Thorbjørn Martsum <tmartsum@gmail.com> | 2015-12-02 16:07:55 +0100 |
---|---|---|
committer | Thorbjørn Lund Martsum <tmartsum@gmail.com> | 2016-04-24 17:06:00 +0000 |
commit | f9f777c40a7d8e5f24bbdf8ee509594a0e38c56a (patch) | |
tree | 8a06bf2c8b90f6ce263229290720ce75afa38f25 /src/widgets/doc/snippets/code | |
parent | 18291af42caf18165f99dd0300738576b96379a6 (diff) |
QAbstractItemView - Fix docs to match behavior (SelectionMode)
We can deselect the item in single selection mode.
It was introduced in
28a21d98ef8d880a6dd86ee19dd803424bb5eae1
The motivation was QTBUG-8836 - and furthermore it was in
many situations already possible to deselect the item by
clicking in the viewport.
A restore of selection by reacting on the signal
QItemSelectionModel::selectionChanged is easily possible
If the behavior was changed to follow the documentation,
such a similar simply work-around to allow deselect would not be
possible.
Task-number: QTBUG-49217
Change-Id: I5466337dc547414d3e0c045ab35d618dba56c508
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/widgets/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions