#67: Add list of all committers to about window

This commit is contained in:
Lukas W
2014-01-24 19:28:13 +01:00
parent e94cec5ffc
commit da65f629e2
2 changed files with 27 additions and 4 deletions

View File

@@ -79,7 +79,19 @@ aboutDialog::aboutDialog() :
authorLabel->setPlainText( embed::getText( "AUTHORS" ) );
licenseLabel->setPlainText( embed::getText( "COPYING" ) );
QString contText = embed::getText( "CONTRIBUTORS" );
if ( contText.length() >= 2 )
{
QWidget *widget = new QWidget();
QVBoxLayout *layout = new QVBoxLayout();
QTextEdit *contWidget = new QTextEdit();
contWidget->setReadOnly(true);
contWidget->setText( contText );
layout->addWidget( new QLabel( tr("Contributors ordered by number of commits:"), this ) );
layout->addWidget( contWidget );
widget->setLayout( layout );
tabWidget->insertTab( 2, widget, tr("Involved") );
}
}