diff options
| author | Frank Reininghaus <[email protected]> | 2015-08-29 21:50:16 +0200 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2015-09-03 20:26:12 +0200 |
| commit | 5ce01c864f4ab9848a54ee982f6ac18e63f04773 (patch) | |
| tree | 65d9b148516c57609a728ca50e1d787804b2af17 /src/kitemviews/kitemlistheader.h | |
| parent | 31f0acc72653972845f83abd60eaffde511801f1 (diff) | |
Only store modified columns widths after the mouse button was released
This prevents that the new widths are written to disk multiple times in
quick succession, which can make column resizing quite slow.
BUG: 351846
REVIEW: 351846
FIXED-IN: 15.08.1
Diffstat (limited to 'src/kitemviews/kitemlistheader.h')
| -rw-r--r-- | src/kitemviews/kitemlistheader.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/kitemviews/kitemlistheader.h b/src/kitemviews/kitemlistheader.h index cc2b74793..76c420559 100644 --- a/src/kitemviews/kitemlistheader.h +++ b/src/kitemviews/kitemlistheader.h @@ -79,6 +79,13 @@ signals: qreal currentWidth, qreal previousWidth); + /** + * Is emitted if the user has released the mouse button after adjusting the + * width of a visible role. + */ + void columnWidthChangeFinished(const QByteArray& role, + qreal currentWidth); + private: KItemListHeader(KItemListView* listView); |
