[PATCH 09/13] QAbstractItemModel::reset doesn't exist in Qt5

Anton Lundin glance at acc.umu.se
Wed Jan 15 00:30:40 UTC 2014


Let the library resolve this one instead.

Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
 qt-ui/marble/GeoDataTreeModel.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qt-ui/marble/GeoDataTreeModel.h b/qt-ui/marble/GeoDataTreeModel.h
index 3a9c5d6..2889b65 100644
--- a/qt-ui/marble/GeoDataTreeModel.h
+++ b/qt-ui/marble/GeoDataTreeModel.h
@@ -70,7 +70,7 @@ class MARBLE_EXPORT GeoDataTreeModel : public QAbstractItemModel
 
     bool setData ( const QModelIndex & index, const QVariant & value, int role = Qt::EditRole );
 
-    void reset() { QAbstractItemModel::reset(); }
+    void reset();
 
 public Q_SLOTS:
 
-- 
1.8.3.2



More information about the subsurface mailing list