]> Some of my projects - localmylist.git/commitdiff
More build fixes.
authorAPTX <marek321@gmail.com>
Sat, 31 Aug 2013 16:14:35 +0000 (18:14 +0200)
committerAPTX <marek321@gmail.com>
Sat, 31 Aug 2013 16:14:35 +0000 (18:14 +0200)
localmylist/dynamicmodel/data.h
localmylist/dynamicmodel/datatype.cpp
localmylist/dynamicmodel/typerelation.h

index ede3d4c8fa2cfbb86ea9cd45de1e40f9473ff088..aa2a92ecdcd9dfd95c7d551fbaa48000b4528dd7 100644 (file)
@@ -19,7 +19,7 @@ class LOCALMYLISTSHARED_EXPORT Data
 {
 public:
        Data(DataType *dataType);
-       ~Data();
+       virtual ~Data();
 
        virtual int id() const = 0;
        virtual QVariant data(int row, int role) const;
index b3fac51d693687e194249d62ade89dc27df2d1a6..3d33f03627d6cd82a9abc7b46d8fb5a118cb45c5 100644 (file)
@@ -60,6 +60,7 @@ void DataType::released(Data *data)
        bool removed = m_dataStore.remove(data->id());
 
        Q_ASSERT_X(removed, "released", "releasing node not in data store");
+       Q_UNUSED(removed);
 
        delete data;
 }
index 58fd766b6fd6db18c3bf3326ac6bc54ba2188769..63b6263b874e6afb30fe70d179f82a17652b13c7 100644 (file)
@@ -131,6 +131,7 @@ public:
 
 // =========================================================================================================
 
+/*
 class LOCALMYLISTSHARED_EXPORT EpisodeFileLocationRelation : public TypeRelation
 {
        Q_OBJECT
@@ -143,6 +144,7 @@ public:
        NodeList getChildren(Data *parent, int offset, DataType *rowCountType, NodeFactory nodeFactory);
        QString rowCountQuery() const;
 };
+*/
 
 // =========================================================================================================