mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
247194e839
commit
70cabb968c
3 changed files with 7 additions and 5 deletions
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue