mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
feat: set the default history and favorite saving interval to 15 minutes
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
This commit is contained in:
parent
08d31614ed
commit
95f3abadf5
|
@ -255,8 +255,6 @@ Preferences::Preferences():
|
|||
maxStringsInHistory( 500 ),
|
||||
storeHistory( 1 ),
|
||||
alwaysExpandOptionalParts( true ),
|
||||
historyStoreInterval( 0 ),
|
||||
favoritesStoreInterval( 0 ),
|
||||
confirmFavoritesDeletion( true ),
|
||||
collapseBigArticles( false ),
|
||||
articleSizeLimit( 2000 ),
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue