summaryrefslogtreecommitdiffstats
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-47d0537.tar.gz
rockbox-47d0537.tar.bz2
rockbox-47d0537.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)
ui.browserChangelog->setOpenExternalLinks(true);
// FIXME: support translated changelog file (changelog.de.txt etc)
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());
connect(ui.buttonOk, SIGNAL(clicked()), this, SLOT(accept()));
}