1
0

revert: remove the ability that disable built-in close window animation

no need to preserve this option because frameless window and
close window animation will be fully removed in future.
This commit is contained in:
2026-07-02 20:32:30 +08:00
parent 457647c59f
commit 032752faf9
6 changed files with 11 additions and 43 deletions

View File

@@ -50,11 +50,6 @@ bool Settings::stayOnTop() const
return m_qsettings->value("stay_on_top", true).toBool();
}
bool Settings::useBuiltInCloseAnimation() const
{
return m_qsettings->value("use_built_in_close_animation", true).toBool();
}
bool Settings::useLightCheckerboard() const
{
return m_qsettings->value("use_light_checkerboard", false).toBool();
@@ -112,12 +107,6 @@ void Settings::setStayOnTop(bool on)
m_qsettings->sync();
}
void Settings::setUseBuiltInCloseAnimation(bool on)
{
m_qsettings->setValue("use_built_in_close_animation", on);
m_qsettings->sync();
}
void Settings::setUseLightCheckerboard(bool light)
{
m_qsettings->setValue("use_light_checkerboard", light);