mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-17 03:07:03 +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>
|
||||
<content_rating type="oars-1.1" />
|
||||
<releases>
|
||||
<release version="3.9.2" date="2021-05-31"/>
|
||||
<release version="3.9.2" date="2021-06-01"/>
|
||||
</releases>
|
||||
<content_rating type="oars-1.0">
|
||||
<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),
|
||||
SETTING(Messages::Zoom)).toReal();
|
||||
|
||||
if (to_factory_default) {
|
||||
qApp->settings()->setValue(GROUP(Messages), Messages::Zoom, new_factor);
|
||||
}
|
||||
|
||||
if (new_factor != zoomFactor()) {
|
||||
setZoomFactor(new_factor);
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user