summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2015-05-18 22:48:54 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2015-05-18 22:48:54 +0200
commit47d053735be0233a9821fdfdfd1d0a4651b6e61f (patch)
tree06cbaab1a0f649a6c568c4b46d77637a4e85e462
parenta213c1828f1e9a7c9c5594e70e1e91f90744bb59 (diff)
downloadrockbox-47d053735be0233a9821fdfdfd1d0a4651b6e61f.tar.gz
rockbox-47d053735be0233a9821fdfdfd1d0a4651b6e61f.zip
Initially scroll to changelog end.
Since currently new entries are at the bottom scroll down when opening the changelog window. Change-Id: I3cec84f5d9251e268c34335d8032dd11f42098ae
-rw-r--r--rbutil/rbutilqt/gui/changelog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/gui/changelog.cpp b/rbutil/rbutilqt/gui/changelog.cpp
index 1de272315d..54d6fa6f6c 100644
--- a/rbutil/rbutilqt/gui/changelog.cpp
+++ b/rbutil/rbutilqt/gui/changelog.cpp
@@ -26,7 +26,7 @@ Changelog::Changelog(QWidget *parent) : QDialog(parent)
26 ui.browserChangelog->setOpenExternalLinks(true); 26 ui.browserChangelog->setOpenExternalLinks(true);
27 // FIXME: support translated changelog file (changelog.de.txt etc) 27 // FIXME: support translated changelog file (changelog.de.txt etc)
28 ui.browserChangelog->setHtml(parseChangelogFile(":/docs/changelog.txt")); 28 ui.browserChangelog->setHtml(parseChangelogFile(":/docs/changelog.txt"));
29 ui.browserChangelog->moveCursor(QTextCursor::Start, QTextCursor::MoveAnchor); 29 ui.browserChangelog->moveCursor(QTextCursor::End, QTextCursor::MoveAnchor);
30 ui.checkBoxShowAlways->setChecked(RbSettings::value(RbSettings::ShowChangelog).toBool()); 30 ui.checkBoxShowAlways->setChecked(RbSettings::value(RbSettings::ShowChangelog).toBool());
31 connect(ui.buttonOk, SIGNAL(clicked()), this, SLOT(accept())); 31 connect(ui.buttonOk, SIGNAL(clicked()), this, SLOT(accept()));
32} 32}