From 284187d15808b0c938991490e6c3848d6bfa0806 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Thu, 15 Mar 2007 00:40:42 +0000 Subject: [PATCH] qt4 - About dialog, forgot in previous commit. --- modules/gui/qt4/dialogs/help.cpp | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/modules/gui/qt4/dialogs/help.cpp b/modules/gui/qt4/dialogs/help.cpp index 9e4d2c6113..164b107d38 100644 --- a/modules/gui/qt4/dialogs/help.cpp +++ b/modules/gui/qt4/dialogs/help.cpp @@ -77,11 +77,22 @@ AboutDialog::AboutDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf ) layout->addWidget( tab, 1, 0, 1, 2 ); layout->addWidget( closeButton, 2, 1, 1, 1 ); - QFile *licenseFile = new QFile( "/usr/src/vlc/COPYING" ); - QTextEdit *licenseEdit = new QTextEdit( this ); - licenseEdit->setText( licenseFile->readAll() ); - licenseEdit->setReadOnly( true ); - + /* GPL License */ + QFile *licenseFile = new QFile( "/usr/src/vlc/COPYING" ); + QTextEdit *licenseEdit = new QTextEdit( this ); + licenseEdit->setText( licenseFile->readAll() ); + licenseEdit->setReadOnly( true ); + + /* People who helped */ + QFile *thanksFile = new QFile( "/usr/src/vlc/THANKS" ); + QTextEdit *thanksEdit = new QTextEdit( this ); + thanksEdit->setText( thanksFile->readAll() ); + thanksEdit->setReadOnly( true ); + + /* add the tabs to the Tabwidget */ + tab->addTab( NULL, _( "Information" ) ); + tab->addTab( NULL, _( "Authors" ) ); + tab->addTab( thanksEdit, _("Thanks") ); tab->addTab( licenseEdit, _("Distribution License") ); BUTTONACT( closeButton, close() ); -- 2.20.1