diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-11-13 16:59:56 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-14 21:24:48 +0900 |
commit | 37e7984e152898e801a783777e81a3e878425cdb (patch) | |
tree | 926d9516cf5b00a3be29bc3df6e52117eac17239 /qt-ui/divelistview.h | |
parent | 9f8577a5ea42b62808dcf3c14daa3c7ea9548961 (diff) | |
download | subsurface-37e7984e152898e801a783777e81a3e878425cdb.tar.gz |
Fix Last Column adding a horizontal Scroll on the Dive List.
Fixes the last column adding a horizontal scroll on the dive list,
since we have the hability to show / hide columns, I had to create
a helper method to discover what is the last column and set the
size of it very small so no scroll is created.
Also, I'v set the setStrechLastSection to true. :)
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelistview.h')
-rw-r--r-- | qt-ui/divelistview.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/divelistview.h b/qt-ui/divelistview.h index bcd603e12..222a9929a 100644 --- a/qt-ui/divelistview.h +++ b/qt-ui/divelistview.h @@ -62,6 +62,7 @@ private: void setupUi(); void backupExpandedRows(); void restoreExpandedRows(); + int lastVisibleColumn(); }; #endif // DIVELISTVIEW_H |