[vlc-commits] Qt: EPGView: fix constness
Francois Cartegnie
git at videolan.org
Thu Mar 28 16:53:06 CET 2013
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Mar 28 16:46:24 2013 +0100| [8b5d588d093199328e302b488beedf787b7a01a3] | committer: Francois Cartegnie
Qt: EPGView: fix constness
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8b5d588d093199328e302b488beedf787b7a01a3
---
modules/gui/qt4/components/epg/EPGView.cpp | 4 ++--
modules/gui/qt4/components/epg/EPGView.hpp | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/gui/qt4/components/epg/EPGView.cpp b/modules/gui/qt4/components/epg/EPGView.cpp
index 107e864..db0161b 100644
--- a/modules/gui/qt4/components/epg/EPGView.cpp
+++ b/modules/gui/qt4/components/epg/EPGView.cpp
@@ -112,12 +112,12 @@ void EPGView::updateChannels()
mutex.unlock();
}
-const QDateTime& EPGView::startTime()
+const QDateTime& EPGView::startTime() const
{
return m_startTime;
}
-const QDateTime& EPGView::baseTime()
+const QDateTime& EPGView::baseTime() const
{
return m_baseTime;
}
diff --git a/modules/gui/qt4/components/epg/EPGView.hpp b/modules/gui/qt4/components/epg/EPGView.hpp
index 6e7ef5a..03d6a75 100644
--- a/modules/gui/qt4/components/epg/EPGView.hpp
+++ b/modules/gui/qt4/components/epg/EPGView.hpp
@@ -58,8 +58,8 @@ public:
void setScale( double scaleFactor );
void updateStartTime();
- const QDateTime& startTime();
- const QDateTime& baseTime();
+ const QDateTime& startTime() const;
+ const QDateTime& baseTime() const;
bool addEPGEvent( vlc_epg_event_t*, QString, bool );
void removeEPGEvent( vlc_epg_event_t*, QString );
More information about the vlc-commits
mailing list