feat: set the default history and favorite saving interval to 15 minutes
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run

This commit is contained in:
shenleban tongying 2024-10-10 00:20:02 -04:00
parent 08d31614ed
commit 95f3abadf5
2 changed files with 2 additions and 4 deletions

View file

@ -255,8 +255,6 @@ Preferences::Preferences():
maxStringsInHistory( 500 ),
storeHistory( 1 ),
alwaysExpandOptionalParts( true ),
historyStoreInterval( 0 ),
favoritesStoreInterval( 0 ),
confirmFavoritesDeletion( true ),
collapseBigArticles( false ),
articleSizeLimit( 2000 ),

View file

@ -391,8 +391,8 @@ struct Preferences
unsigned storeHistory;
bool alwaysExpandOptionalParts;
unsigned historyStoreInterval;
unsigned favoritesStoreInterval;
unsigned historyStoreInterval = 15; // unit is minutes
unsigned favoritesStoreInterval = 15;
bool confirmFavoritesDeletion;