From 43bb8881fdbd4e37600047062a9402a81cefe7d8 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 1 Jul 2015 18:56:00 -0300 Subject: [PATCH] Correctly removes the Location Completion Model Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-models/completionmodels.h | 6 ------ qt-ui/maintab.h | 1 - 2 files changed, 7 deletions(-) diff --git a/qt-models/completionmodels.h b/qt-models/completionmodels.h index 859b8c007..c4dfd2a58 100644 --- a/qt-models/completionmodels.h +++ b/qt-models/completionmodels.h @@ -15,12 +15,6 @@ public: void updateModel(); }; -class LocationCompletionModel : public QStringListModel { - Q_OBJECT -public: - void updateModel(); -}; - class SuitCompletionModel : public QStringListModel { Q_OBJECT public: diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h index 844710954..a8f2dfab4 100644 --- a/qt-ui/maintab.h +++ b/qt-ui/maintab.h @@ -105,7 +105,6 @@ private: EditMode editMode; BuddyCompletionModel buddyModel; DiveMasterCompletionModel diveMasterModel; - LocationCompletionModel locationModel; SuitCompletionModel suitModel; TagCompletionModel tagModel; DivePictureModel *divePictureModel;