Commit 4189bb34 authored by Nathaniel Graham's avatar Nathaniel Graham

Remember the last-used save mode by default

Summary: Anecdotal evidence from bug triaging, internet forums, and reviews of KDE software suggests that 99% of Spectacle's users are unaware that this setting exists, and many would like its behavior turned on by default. This patch accomplishes that.

Test Plan:
Tested in NDE Neon:
- Removed ~/.config/spectaclerc
- Opened Spectacle and confirmed that the button remembers the last-used save mode by default and that the applicable setting is toggled by default

Reviewers: #spectacle, broulik, rkron, kossebau, egorov, rkflx

Reviewed By: rkron, rkflx

Subscribers: bgupta, rkflx

Differential Revision: https://phabricator.kde.org/D10153
parent 1100fcec
......@@ -147,7 +147,7 @@ void SpectacleConfig::setCaptureMode(int index)
bool SpectacleConfig::useDynamicSaveButton() const
{
return mGuiConfig.readEntry(QStringLiteral("dynamicSaveButton"), false);
return mGuiConfig.readEntry(QStringLiteral("dynamicSaveButton"), true);
}
void SpectacleConfig::setUseDynamicSaveButton(bool enabled)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment