set emptyTrashForOlderDocuments default value to false

preferencesAboutTextFull
Clément Fauconnier 5 years ago
parent 872d5cb360
commit c30b85376a
  1. 2
      resources/etc/OpenBoard.config
  2. 2
      src/core/UBSettings.cpp

@ -93,7 +93,7 @@ SortOrder=0
SplitterLeftSize=200 SplitterLeftSize=200
SplitterRightSize=800 SplitterRightSize=800
ShowDateColumnOnAlphabeticalSort=false ShowDateColumnOnAlphabeticalSort=false
emptyTrashForOlderDocuments=true emptyTrashForOlderDocuments=false
emptyTrashDaysValue=30 emptyTrashDaysValue=30
[IntranetPodcast] [IntranetPodcast]

@ -460,7 +460,7 @@ void UBSettings::init()
useSystemOnScreenKeyboard = new UBSetting(this, "App", "UseSystemOnScreenKeyboard", true); useSystemOnScreenKeyboard = new UBSetting(this, "App", "UseSystemOnScreenKeyboard", true);
showDateColumnOnAlphabeticalSort = new UBSetting(this, "Document", "ShowDateColumnOnAlphabeticalSort", false); showDateColumnOnAlphabeticalSort = new UBSetting(this, "Document", "ShowDateColumnOnAlphabeticalSort", false);
emptyTrashForOlderDocuments = new UBSetting(this, "Document", "emptyTrashForOlderDocuments", true); emptyTrashForOlderDocuments = new UBSetting(this, "Document", "emptyTrashForOlderDocuments", false);
emptyTrashDaysValue = new UBSetting(this, "Document", "emptyTrashDaysValue", 30); emptyTrashDaysValue = new UBSetting(this, "Document", "emptyTrashDaysValue", 30);
cleanNonPersistentSettings(); cleanNonPersistentSettings();

Loading…
Cancel
Save