forked from len0rd/rockbox
Initially scroll to changelog end.
Since currently new entries are at the bottom scroll down when opening the changelog window. Change-Id: I3cec84f5d9251e268c34335d8032dd11f42098ae
This commit is contained in:
parent
a213c1828f
commit
47d053735b
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ Changelog::Changelog(QWidget *parent) : QDialog(parent)
|
||||||
ui.browserChangelog->setOpenExternalLinks(true);
|
ui.browserChangelog->setOpenExternalLinks(true);
|
||||||
// FIXME: support translated changelog file (changelog.de.txt etc)
|
// FIXME: support translated changelog file (changelog.de.txt etc)
|
||||||
ui.browserChangelog->setHtml(parseChangelogFile(":/docs/changelog.txt"));
|
ui.browserChangelog->setHtml(parseChangelogFile(":/docs/changelog.txt"));
|
||||||
ui.browserChangelog->moveCursor(QTextCursor::Start, QTextCursor::MoveAnchor);
|
ui.browserChangelog->moveCursor(QTextCursor::End, QTextCursor::MoveAnchor);
|
||||||
ui.checkBoxShowAlways->setChecked(RbSettings::value(RbSettings::ShowChangelog).toBool());
|
ui.checkBoxShowAlways->setChecked(RbSettings::value(RbSettings::ShowChangelog).toBool());
|
||||||
connect(ui.buttonOk, SIGNAL(clicked()), this, SLOT(accept()));
|
connect(ui.buttonOk, SIGNAL(clicked()), this, SLOT(accept()));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue