mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14: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 ),
|
maxStringsInHistory( 500 ),
|
||||||
storeHistory( 1 ),
|
storeHistory( 1 ),
|
||||||
alwaysExpandOptionalParts( true ),
|
alwaysExpandOptionalParts( true ),
|
||||||
historyStoreInterval( 0 ),
|
|
||||||
favoritesStoreInterval( 0 ),
|
|
||||||
confirmFavoritesDeletion( true ),
|
confirmFavoritesDeletion( true ),
|
||||||
collapseBigArticles( false ),
|
collapseBigArticles( false ),
|
||||||
articleSizeLimit( 2000 ),
|
articleSizeLimit( 2000 ),
|
||||||
|
|
|
@ -391,8 +391,8 @@ struct Preferences
|
||||||
unsigned storeHistory;
|
unsigned storeHistory;
|
||||||
bool alwaysExpandOptionalParts;
|
bool alwaysExpandOptionalParts;
|
||||||
|
|
||||||
unsigned historyStoreInterval;
|
unsigned historyStoreInterval = 15; // unit is minutes
|
||||||
unsigned favoritesStoreInterval;
|
unsigned favoritesStoreInterval = 15;
|
||||||
|
|
||||||
bool confirmFavoritesDeletion;
|
bool confirmFavoritesDeletion;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue