diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-01-08 20:55:29 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-01-10 02:37:03 +0900 |
commit | 70cabb968c481e566e8249465f153e05e6dc0347 (patch) | |
tree | 7b2af4fb86ed467f99250ddaaf091a7da9f22e9a /desktop-widgets/modeldelegates.cpp | |
parent | 247194e839cec81304734861db8e8e6e381a5483 (diff) | |
download | subsurface-70cabb968c481e566e8249465f153e05e6dc0347.tar.gz |
code cleanup: use explicit zero_location
Again, several different ways to achieve the same thing.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/modeldelegates.cpp')
-rw-r--r-- | desktop-widgets/modeldelegates.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/modeldelegates.cpp b/desktop-widgets/modeldelegates.cpp index d9955f19c..ae8755292 100644 --- a/desktop-widgets/modeldelegates.cpp +++ b/desktop-widgets/modeldelegates.cpp @@ -419,7 +419,7 @@ QWidget *DoubleSpinBoxDelegate::createEditor(QWidget *parent, const QStyleOption return w; } -LocationFilterDelegate::LocationFilterDelegate(QObject *) : currentLocation({0, 0}) +LocationFilterDelegate::LocationFilterDelegate(QObject *) : currentLocation(zero_location) { } |