[vlc-commits] ML: fix typo (fix missing vtable)
Rémi Duraffort
git at videolan.org
Wed Jul 13 11:10:54 CEST 2011
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Jul 12 11:31:10 2011 +0200| [d9f36d0dea0b7ce0ccd1bd6cd25e2d5abab8253d] | committer: Rémi Duraffort
ML: fix typo (fix missing vtable)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d9f36d0dea0b7ce0ccd1bd6cd25e2d5abab8253d
---
modules/gui/qt4/components/playlist/ml_model.cpp | 2 +-
modules/gui/qt4/components/playlist/ml_model.hpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/components/playlist/ml_model.cpp b/modules/gui/qt4/components/playlist/ml_model.cpp
index 2bcf59f..a8e7a35 100644
--- a/modules/gui/qt4/components/playlist/ml_model.cpp
+++ b/modules/gui/qt4/components/playlist/ml_model.cpp
@@ -259,7 +259,7 @@ int MLModel::getId( QModelIndex index ) const
return getItem( index )->id();
}
-QVariant MLModel::data( const QModelIndex &index, int role ) const
+QVariant MLModel::data( const QModelIndex &index, const int role ) const
{
if( index.isValid() )
{
diff --git a/modules/gui/qt4/components/playlist/ml_model.hpp b/modules/gui/qt4/components/playlist/ml_model.hpp
index f1c5fbe..c1994d0 100644
--- a/modules/gui/qt4/components/playlist/ml_model.hpp
+++ b/modules/gui/qt4/components/playlist/ml_model.hpp
@@ -62,7 +62,7 @@ public:
}
virtual int getId( QModelIndex index ) const;
- QVariant data( const QModelIndex &idx, int role = Qt::DisplayRole ) const;
+ QVariant data( const QModelIndex &idx, const int role = Qt::DisplayRole ) const;
bool setData( const QModelIndex &idx, const QVariant &value,
int role = Qt::EditRole );
ml_select_e columnType( int column ) const;
More information about the vlc-commits
mailing list