summaryrefslogtreecommitdiff
path: root/models/StationList.cpp
diff options
context:
space:
mode:
authorChristoph Berg <christoph.berg@credativ.de>2019-07-17 15:14:42 +0200
committerChristoph Berg <christoph.berg@credativ.de>2019-07-17 15:14:42 +0200
commit05f825a1959653728acc38a844b41ec8b1622374 (patch)
tree264ebe54e977337d0faf0a093a117eb2665b14ac /models/StationList.cpp
parent77521f03e135e9b6c1f6732d749db6b541c8dfac (diff)
parent3d67be3023bf34eac7f93fa422f5ef569abb92a9 (diff)
Update upstream source from tag 'upstream/2.1.0+repack'
Update to upstream version '2.1.0+repack' with Debian dir f1034457a9a3db00e6d9c4d0a89a0de3d3134010
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}
{