Commit 8ac04711 authored by Andreas Traczyk's avatar Andreas Traczyk Committed by Ming Rui Zhang

changelog: start scrollview at top, add generated file to gitignore

Change-Id: I5af769ec7a5223bfb81e9d5a6b2c15920081a13f
parent 55ca06e8
......@@ -15,3 +15,4 @@ qrencode-win32/
build/
nuget.exe
*.autosave
changelog.html
......@@ -38,7 +38,7 @@ AboutDialog::AboutDialog(QWidget *parent) :
.arg(isBeta ? tr("(BETA) version") : tr("version"), QString(VERSION_STRING)));
ui->logTextEdit->insertHtml(Utils::getChangeLog());
ui->logTextEdit->moveCursor(QTextCursor::Start);
}
AboutDialog::~AboutDialog()
......@@ -71,6 +71,7 @@ AboutDialog::on_changelogButton_clicked()
{
ui->logTextEdit->clear();
ui->logTextEdit->insertHtml(Utils::getChangeLog());
ui->logTextEdit->moveCursor(QTextCursor::Start);
}
void
......@@ -79,7 +80,6 @@ AboutDialog::on_closeAboutDialogButton_clicked()
getContainer()->accept();
}
void
AboutDialog::on_creditsButton_clicked()
{
......@@ -130,4 +130,5 @@ AboutDialog::on_creditsButton_clicked()
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
+ tr("Based on the SFLPhone project") + "</p>");
ui->logTextEdit->moveCursor(QTextCursor::Start);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment