diff options
Diffstat (limited to 'qt-ui/models.cpp')
-rw-r--r-- | qt-ui/models.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp index ff6974145..3aeac2c5e 100644 --- a/qt-ui/models.cpp +++ b/qt-ui/models.cpp @@ -2487,7 +2487,8 @@ Qt::ItemFlags LocationFilterModel::flags(const QModelIndex &index) const LocationFilterModel *LocationFilterModel::instance() { - + static LocationFilterModel *self = new LocationFilterModel(); + return self; } void LocationFilterModel::repopulate() |