diff options
| author | Emmanuel Pescosta <[email protected]> | 2013-08-24 21:00:26 +0200 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2013-08-24 21:00:26 +0200 |
| commit | 2bdce34fe1e6613d2747ab798bccb4fa7de8ca3e (patch) | |
| tree | 8709af40b1e5e8bdbe8e964b2576d71e035e4f40 /src/kitemviews/private/kitemlistselectiontoggle.h | |
| parent | 7ffa66f77789f754a4c35a5c4d0ecbfc0a0ae1e7 (diff) | |
Adjust the size and position of the selection toggle on icon
resize (when changing the zoomlevel).
BUG: 310412
REVIEW: 112250
FIXED-IN: 4.11.1
Diffstat (limited to 'src/kitemviews/private/kitemlistselectiontoggle.h')
| -rw-r--r-- | src/kitemviews/private/kitemlistselectiontoggle.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kitemviews/private/kitemlistselectiontoggle.h b/src/kitemviews/private/kitemlistselectiontoggle.h index a8050d811..ba29293f6 100644 --- a/src/kitemviews/private/kitemlistselectiontoggle.h +++ b/src/kitemviews/private/kitemlistselectiontoggle.h @@ -46,9 +46,11 @@ public: protected: virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event); virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event); + virtual void resizeEvent(QGraphicsSceneResizeEvent* event); private: void updatePixmap(); + int iconSize() const; private: bool m_checked; |
