Commit 3015add4 authored by François Cartegnie's avatar François Cartegnie 🤞
Browse files

qt: epgview: const correctness

parent 5d1047b3
...@@ -104,7 +104,7 @@ const QDateTime& EPGView::baseTime() ...@@ -104,7 +104,7 @@ const QDateTime& EPGView::baseTime()
return m_baseTime; return m_baseTime;
} }
bool EPGView::hasValidData() bool EPGView::hasValidData() const
{ {
return !epgitemsByChannel.isEmpty(); return !epgitemsByChannel.isEmpty();
} }
......
...@@ -66,7 +66,7 @@ public: ...@@ -66,7 +66,7 @@ public:
void updateDuration(); void updateDuration();
void reset(); void reset();
void cleanup(); void cleanup();
bool hasValidData(); bool hasValidData() const;
signals: signals:
void startTimeChanged( const QDateTime& startTime ); void startTimeChanged( const QDateTime& startTime );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment