[vlc-commits] Qt: addons: show summary in addons info popup

Francois Cartegnie git at videolan.org
Mon Feb 10 17:21:32 CET 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Feb 10 17:14:26 2014 +0100| [bd190a9925acbd6550b0976707348b6dcbf019f4] | committer: Francois Cartegnie

Qt: addons: show summary in addons info popup

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

 modules/gui/qt4/dialogs/plugins.cpp |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/gui/qt4/dialogs/plugins.cpp b/modules/gui/qt4/dialogs/plugins.cpp
index 31334a8..98ca70b 100644
--- a/modules/gui/qt4/dialogs/plugins.cpp
+++ b/modules/gui/qt4/dialogs/plugins.cpp
@@ -1320,6 +1320,10 @@ AddonInfoDialog::AddonInfoDialog( const QModelIndex &index,
                              .arg( qtr("Author") ).arg( author ) );
     }
 
+    // Summary
+    textContent->append( QString("%1<br/>\n")
+                .arg( index.data(AddonsListModel::SummaryRole).toString() ) );
+
     // Description
     QString description = index.data(AddonsListModel::DescriptionRole).toString();
     if ( !description.isEmpty() )



More information about the vlc-commits mailing list