1
0

revert: remove auto long image mode

- remove auto long image mode.
- there is no "auto" requirement for this.
- user can utilize fit by height/width to achieve the same goal by manually click them.
- some optimization code about graphic view are preserved.
This commit is contained in:
2026-07-02 20:13:29 +08:00
parent 821e0f9fd6
commit 457647c59f
10 changed files with 1 additions and 85 deletions

View File

@@ -65,11 +65,6 @@ bool Settings::loopGallery() const
return m_qsettings->value("loop_gallery", true).toBool();
}
bool Settings::autoLongImageMode() const
{
return m_qsettings->value("auto_long_image_mode", true).toBool();
}
bool Settings::svgTiny12Only() const
{
// Qt 6.7.0's SVG support is terrible caused by huge memory usage, see QTBUG-124287
@@ -135,12 +130,6 @@ void Settings::setLoopGallery(bool on)
m_qsettings->sync();
}
void Settings::setAutoLongImageMode(bool on)
{
m_qsettings->setValue("auto_long_image_mode", on);
m_qsettings->sync();
}
void Settings::setSvgTiny12Only(bool on)
{
m_qsettings->setValue("svg_tiny12_only", on);