diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-05-22 21:25:05 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-22 21:31:45 -0700 |
commit | 115e5e5fbc5fcf190ceafaa2b800160cec93d52e (patch) | |
tree | 81f8308c48c11b7b3ff393ab35b3ae6999351d5c /qt-ui/modeldelegates.h | |
parent | 775736395363ddfe65387b6e05d37546a4601ab9 (diff) | |
download | subsurface-115e5e5fbc5fcf190ceafaa2b800160cec93d52e.tar.gz |
The never ending, futile fight for whitespace consistency
I just need to write a tool that does this...
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/modeldelegates.h')
-rw-r--r-- | qt-ui/modeldelegates.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/qt-ui/modeldelegates.h b/qt-ui/modeldelegates.h index 0a56d14d6..baf7d50c3 100644 --- a/qt-ui/modeldelegates.h +++ b/qt-ui/modeldelegates.h @@ -6,9 +6,9 @@ class StarWidgetsDelegate : public QStyledItemDelegate { Q_OBJECT public: - explicit StarWidgetsDelegate(QWidget* parent = 0); - virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; - virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; + explicit StarWidgetsDelegate(QWidget* parent = 0); + virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; + virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; private: QWidget *parentWidget; }; @@ -16,8 +16,8 @@ private: class TankInfoDelegate : public QStyledItemDelegate{ Q_OBJECT public: - explicit TankInfoDelegate(QObject* parent = 0); - virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; + explicit TankInfoDelegate(QObject* parent = 0); + virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; }; #endif |