Skip to content

Commit c0cdc5d

Browse files
committed
QuickSetup: enable "Backup On Save" as default
1 parent f3c6e67 commit c0cdc5d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/ui/wizards/quicksetup.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,10 @@ void QuickSetup::accept()
202202
AppSupport::setSettings("RasterEffects", "ShadowHardwareSupport", 0);
203203
AppSupport::setSettings("RasterEffects", "WipeHardwareSupport", 0);
204204
}
205+
if (!AppSupport::isFlatpak()) {
206+
// enable backup on save as default (unless we run in a Flatpak)
207+
AppSupport::setSettings("files", "BackupOnSave", true);
208+
}
205209

206210
QWizard::accept();
207211
}

0 commit comments

Comments
 (0)