Core: Allow adding additional information to about dialog.

Purpose is to get rid of hard coded license information string in the Qt
Creator binary.

Change-Id: I867e2aed010f8a622adfbb89ac96dccbc8229161
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Eike Ziller
2015-10-02 15:15:38 +02:00
parent 525c33f999
commit 9a69a05f9b
5 changed files with 38 additions and 2 deletions

View File

@@ -239,6 +239,16 @@ void MainWindow::setOverrideColor(const QColor &color)
m_overrideColor = color;
}
QStringList MainWindow::additionalAboutInformation() const
{
return m_aboutInformation;
}
void MainWindow::appendAboutInformation(const QString &line)
{
m_aboutInformation.append(line);
}
MainWindow::~MainWindow()
{
// explicitly delete window support, because that calls methods from ICore that call methods