[vlc-commits] qt: epgview: const correctness

Francois Cartegnie git at videolan.org
Fri Sep 9 08:11:40 CEST 2011


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Sep  9 07:53:59 2011 +0200| [3015add42a0c8ddcbbda5fa25b5e73f065785a0b] | committer: Francois Cartegnie

qt: epgview: const correctness

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3015add42a0c8ddcbbda5fa25b5e73f065785a0b
---

 modules/gui/qt4/components/epg/EPGView.cpp |    2 +-
 modules/gui/qt4/components/epg/EPGView.hpp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/epg/EPGView.cpp b/modules/gui/qt4/components/epg/EPGView.cpp
index 3899b6b..dc8ff62 100644
--- a/modules/gui/qt4/components/epg/EPGView.cpp
+++ b/modules/gui/qt4/components/epg/EPGView.cpp
@@ -104,7 +104,7 @@ const QDateTime& EPGView::baseTime()
     return m_baseTime;
 }
 
-bool EPGView::hasValidData()
+bool EPGView::hasValidData() const
 {
     return !epgitemsByChannel.isEmpty();
 }
diff --git a/modules/gui/qt4/components/epg/EPGView.hpp b/modules/gui/qt4/components/epg/EPGView.hpp
index ed5b44d..738857d 100644
--- a/modules/gui/qt4/components/epg/EPGView.hpp
+++ b/modules/gui/qt4/components/epg/EPGView.hpp
@@ -66,7 +66,7 @@ public:
     void            updateDuration();
     void            reset();
     void            cleanup();
-    bool            hasValidData();
+    bool            hasValidData() const;
 
 signals:
     void            startTimeChanged( const QDateTime& startTime );



More information about the vlc-commits mailing list