code cleanup: use explicit zero_location

Again, several different ways to achieve the same thing.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-01-08 20:55:29 -08:00
parent 247194e839
commit 70cabb968c
3 changed files with 7 additions and 5 deletions

View file

@ -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)
{
}