mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-29 08:39:41 +01:00
fix #429
This commit is contained in:
parent
b168b6d28e
commit
24fb0a2e35
@ -30,7 +30,7 @@
|
|||||||
<url type="donation">https://martinrotter.github.io/donate/</url>
|
<url type="donation">https://martinrotter.github.io/donate/</url>
|
||||||
<content_rating type="oars-1.1" />
|
<content_rating type="oars-1.1" />
|
||||||
<releases>
|
<releases>
|
||||||
<release version="3.9.2" date="2021-05-31"/>
|
<release version="3.9.2" date="2021-06-01"/>
|
||||||
</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>
|
||||||
|
@ -82,6 +82,10 @@ bool WebViewer::resetWebPageZoom(bool to_factory_default) {
|
|||||||
const qreal new_factor = to_factory_default ? 1.0 : qApp->settings()->value(GROUP(Messages),
|
const qreal new_factor = to_factory_default ? 1.0 : qApp->settings()->value(GROUP(Messages),
|
||||||
SETTING(Messages::Zoom)).toReal();
|
SETTING(Messages::Zoom)).toReal();
|
||||||
|
|
||||||
|
if (to_factory_default) {
|
||||||
|
qApp->settings()->setValue(GROUP(Messages), Messages::Zoom, new_factor);
|
||||||
|
}
|
||||||
|
|
||||||
if (new_factor != zoomFactor()) {
|
if (new_factor != zoomFactor()) {
|
||||||
setZoomFactor(new_factor);
|
setZoomFactor(new_factor);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user