[vlc-commits] commit: Have bool MLModel::setData return a value in any case. ( Dominique Leuenberger )

git at videolan.org git at videolan.org
Wed Jan 12 19:49:04 CET 2011


vlc | branch: master | Dominique Leuenberger <dominique at leuenberger.net> | Wed Jan 12 19:43:28 2011 +0100| [9168a4fe5678fb040ec146f21f327fac7de7a2a0] | committer: Rémi Duraffort 

Have bool MLModel::setData return a value in any case.

Signed-off-by: Rémi Duraffort <ivoire at videolan.org>

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

 modules/gui/qt4/components/playlist/ml_model.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/components/playlist/ml_model.cpp b/modules/gui/qt4/components/playlist/ml_model.cpp
index 8aae299..f4efd3a 100644
--- a/modules/gui/qt4/components/playlist/ml_model.cpp
+++ b/modules/gui/qt4/components/playlist/ml_model.cpp
@@ -277,6 +277,7 @@ bool MLModel::setData( const QModelIndex &idx, const QVariant &value,
     MLItem *media = static_cast<MLItem*>( idx.internalPointer() );
     media->setData( columnType( idx.column() ), value );
     emit dataChanged( idx, idx );
+    return true;
 }
 
 /**



More information about the vlc-commits mailing list