summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/modeldelegates.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-08 20:55:29 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-10 02:37:03 +0900
commit70cabb968c481e566e8249465f153e05e6dc0347 (patch)
tree7b2af4fb86ed467f99250ddaaf091a7da9f22e9a /desktop-widgets/modeldelegates.cpp
parent247194e839cec81304734861db8e8e6e381a5483 (diff)
downloadsubsurface-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.cpp2
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)
{
}