version change, not major

This commit is contained in:
Martin Rotter 2022-04-29 07:44:05 +02:00
parent 8c97280583
commit 28efa476f4
3 changed files with 4 additions and 4 deletions

View file

@ -60,7 +60,7 @@ set(APP_AUTHOR "Martin Rotter")
set(APP_COPYRIGHT "\\251 2011-2022 ${APP_AUTHOR}") set(APP_COPYRIGHT "\\251 2011-2022 ${APP_AUTHOR}")
set(APP_REVERSE_NAME "com.github.rssguard") set(APP_REVERSE_NAME "com.github.rssguard")
set(APP_DONATE_URL "https://github.com/sponsors/martinrotter") set(APP_DONATE_URL "https://github.com/sponsors/martinrotter")
set(APP_VERSION "4.3.1") set(APP_VERSION "4.2.2")
set(APP_URL "https://github.com/martinrotter/rssguard") set(APP_URL "https://github.com/martinrotter/rssguard")
set(APP_URL_DOCUMENTATION "https://github.com/martinrotter/rssguard/blob/master/resources/docs/Documentation.md") set(APP_URL_DOCUMENTATION "https://github.com/martinrotter/rssguard/blob/master/resources/docs/Documentation.md")

View file

@ -26,7 +26,7 @@
<url type="donation">https://github.com/sponsors/martinrotter</url> <url type="donation">https://github.com/sponsors/martinrotter</url>
<content_rating type="oars-1.1" /> <content_rating type="oars-1.1" />
<releases> <releases>
<release version="4.2.1" date="2022-04-28"/> <release version="4.2.1" date="2022-04-29"/>
</releases> </releases>
<content_rating type="oars-1.0"> <content_rating type="oars-1.0">
<content_attribute id="violence-cartoon">none</content_attribute> <content_attribute id="violence-cartoon">none</content_attribute>

View file

@ -431,8 +431,6 @@ void TextBrowserViewer::onAnchorClicked(const QUrl& url) {
} }
void TextBrowserViewer::setHtml(const QString& html, const QUrl& base_url) { void TextBrowserViewer::setHtml(const QString& html, const QUrl& base_url) {
setVerticalScrollBarPosition(0.0);
if (m_resourcesEnabled) { if (m_resourcesEnabled) {
static QRegularExpression img_tag_rgx("\\<img[^\\>]*src\\s*=\\s*[\"\']([^\"\']*)[\"\'][^\\>]*\\>", static QRegularExpression img_tag_rgx("\\<img[^\\>]*src\\s*=\\s*[\"\']([^\"\']*)[\"\'][^\\>]*\\>",
QRegularExpression::PatternOption::CaseInsensitiveOption | QRegularExpression::PatternOption::CaseInsensitiveOption |
@ -467,6 +465,8 @@ void TextBrowserViewer::setHtml(const QString& html, const QUrl& base_url) {
QTimer::singleShot(20, this, &TextBrowserViewer::reloadHtmlDelayed); QTimer::singleShot(20, this, &TextBrowserViewer::reloadHtmlDelayed);
} }
setVerticalScrollBarPosition(0.0);
// TODO: implement RTL for viewers somehow? // TODO: implement RTL for viewers somehow?
/* /*
auto to = document()->defaultTextOption(); auto to = document()->defaultTextOption();