diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-12-11 21:44:05 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-12-12 03:26:39 +0100 |
commit | 0b5f9512efb8d861b3d935278f22d0cc5d6b8d4a (patch) | |
tree | 8d0a08e2411e45519eb9a6aed707c3b2db5300dd /qt-ui/divelistview.cpp | |
parent | c5c44e3a829d25227f623bd0e6211a4ff5d91b69 (diff) | |
download | subsurface-0b5f9512efb8d861b3d935278f22d0cc5d6b8d4a.tar.gz |
Fix TableWidget ( equipment ones ) on dark scheme.
This patch uses the class created by the previous patch
to get rid of the CSS and be really desktop native. it
fixes a lot of stuff in non-blue-styles and throws
a lot of code away. <3
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelistview.cpp')
-rw-r--r-- | qt-ui/divelistview.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp index d77dd07aa..ef1817fbe 100644 --- a/qt-ui/divelistview.cpp +++ b/qt-ui/divelistview.cpp @@ -22,14 +22,6 @@ #include <QMenu> #include <QFileDialog> -class DiveListDelegate : public QStyledItemDelegate{ -public: - DiveListDelegate(){} - QSize sizeHint ( const QStyleOptionViewItem & option, const QModelIndex & index ) const { - return QSize(50,22); - } -}; - DiveListView::DiveListView(QWidget *parent) : QTreeView(parent), mouseClickSelection(false), sortColumn(0), currentOrder(Qt::DescendingOrder), searchBox(new QLineEdit(this)) { |