summaryrefslogtreecommitdiff
path: root/models/StationList.cpp
diff options
context:
space:
mode:
authorChristoph Berg <christoph.berg@credativ.de>2019-07-17 15:12:32 +0200
committerChristoph Berg <christoph.berg@credativ.de>2019-07-17 15:12:32 +0200
commit3d67be3023bf34eac7f93fa422f5ef569abb92a9 (patch)
treef3748d6a113c50d483882b60b732a9d211100cf8 /models/StationList.cpp
parent62c0c627f4f8aec46a082bf098d4f1523a16d297 (diff)
New upstream version 2.1.0+repackupstream/2.1.0+repack
Diffstat (limited to 'models/StationList.cpp')
-rw-r--r--models/StationList.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/models/StationList.cpp b/models/StationList.cpp
index eeeb4d60..202cac0e 100644
--- a/models/StationList.cpp
+++ b/models/StationList.cpp
@@ -52,6 +52,8 @@ QDataStream& operator >> (QDataStream& is, StationList::Station& station)
class StationList::impl final
: public QAbstractTableModel
{
+ Q_OBJECT
+
public:
impl (Bands const * bands, Stations stations, QObject * parent)
: QAbstractTableModel {parent}
@@ -97,6 +99,9 @@ public:
Stations stations_;
};
+#include "StationList.moc"
+#include "moc_StationList.cpp"
+
StationList::StationList (Bands const * bands, QObject * parent)
: StationList {bands, {}, parent}
{