Implemented the instance method of LocationFilter

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2014-10-31 17:31:29 -02:00 committed by Dirk Hohndel
parent 2f60b73bb1
commit 5bc793b0f0

View file

@ -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()