diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2013-11-04 23:43:34 +0100 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2013-11-04 23:43:34 +0100 |
commit | bd874c00e16e1c086c028e2eb08bf9e6668b2671 (patch) | |
tree | ede10760361e5457431cd8d5f61326d965040f09 /rbutil/rbutilqt/gui/changelog.cpp | |
parent | dd0d52ee0f6750233be61155160eb35e74b908f9 (diff) | |
download | rockbox-bd874c00e16e1c086c028e2eb08bf9e6668b2671.tar.gz rockbox-bd874c00e16e1c086c028e2eb08bf9e6668b2671.zip |
Fix changelog showing up too often.
- Prevent the Changelog showing up when closing the configuration dialog if
"Show on startup" is enabled.
- Increase dialog size a bit.
- Detect and link Gerrit IDs.
Change-Id: I049be3c38a57b2559f2a78392b785fa51ec99dc1
Diffstat (limited to 'rbutil/rbutilqt/gui/changelog.cpp')
-rw-r--r-- | rbutil/rbutilqt/gui/changelog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/gui/changelog.cpp b/rbutil/rbutilqt/gui/changelog.cpp index d8361023b1..4ef1ae9266 100644 --- a/rbutil/rbutilqt/gui/changelog.cpp +++ b/rbutil/rbutilqt/gui/changelog.cpp | |||
@@ -57,6 +57,8 @@ QString Changelog::parseChangelogFile(QString filename) | |||
57 | QString t = line.remove(QRegExp("^\\*")); | 57 | QString t = line.remove(QRegExp("^\\*")); |
58 | t.replace(QRegExp("FS#(\\d+)"), | 58 | t.replace(QRegExp("FS#(\\d+)"), |
59 | "<a href='http://www.rockbox.org/tracker/task/\\1'>FS#\\1</a>"); | 59 | "<a href='http://www.rockbox.org/tracker/task/\\1'>FS#\\1</a>"); |
60 | t.replace(QRegExp("G#(\\d+)"), | ||
61 | "<a href='http://gerrit.rockbox.org/r/\\1'>G#\\1</a>"); | ||
60 | text.append(QString("<li>%1</li>").arg(t)); | 62 | text.append(QString("<li>%1</li>").arg(t)); |
61 | line = c.readLine(); | 63 | line = c.readLine(); |
62 | if(line.startsWith("#")) | 64 | if(line.startsWith("#")) |