diff options
-rw-r--r-- | examples/quick/controls/calendar/src/sqleventmodel.cpp | 3 | ||||
-rw-r--r-- | examples/quick/controls/calendar/src/sqleventmodel.h | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/examples/quick/controls/calendar/src/sqleventmodel.cpp b/examples/quick/controls/calendar/src/sqleventmodel.cpp index 95a62843..92e558ef 100644 --- a/examples/quick/controls/calendar/src/sqleventmodel.cpp +++ b/examples/quick/controls/calendar/src/sqleventmodel.cpp @@ -45,8 +45,7 @@ #include <QSqlError> #include <QSqlQuery> -SqlEventModel::SqlEventModel() : - QSqlQueryModel() +SqlEventModel::SqlEventModel() { createConnection(); } diff --git a/examples/quick/controls/calendar/src/sqleventmodel.h b/examples/quick/controls/calendar/src/sqleventmodel.h index ae0f3374..e7a35c01 100644 --- a/examples/quick/controls/calendar/src/sqleventmodel.h +++ b/examples/quick/controls/calendar/src/sqleventmodel.h @@ -43,11 +43,10 @@ #include <QList> #include <QObject> -#include <QSqlTableModel> #include "event.h" -class SqlEventModel : public QSqlQueryModel +class SqlEventModel : public QObject { Q_OBJECT |