TrackInsertException: correctly derive from OrmSqlException.
authorgregor herrmann <gregor@toastfreeware.priv.at>
Sun, 27 Aug 2017 20:57:52 +0000 (22:57 +0200)
committergregor herrmann <gregor@toastfreeware.priv.at>
Sun, 27 Aug 2017 20:57:52 +0000 (22:57 +0200)
src/mvc/track.cpp

index d8c7a12..6ba24c7 100644 (file)
@@ -30,7 +30,7 @@ QSqlRecord const Track::sColumns = Track::toRecord(QList<QSqlField>()
     << QSqlField(CONFERENCEID, QVariant::Int)
     << QSqlField(NAME, QVariant::String));
 
     << QSqlField(CONFERENCEID, QVariant::Int)
     << QSqlField(NAME, QVariant::String));
 
-class TrackInsertException : OrmSqlException
+class TrackInsertException : public OrmSqlException
 {
 public:
     TrackInsertException(const QString& text) : OrmSqlException(text) {}
 {
 public:
     TrackInsertException(const QString& text) : OrmSqlException(text) {}