Setting to control whether the time is shown in the 'current page/total' label.

Apparently I am going to make millions with this new feature :D
This commit is contained in:
Luis Ángel San Martín
2025-07-18 14:51:33 +02:00
parent 6a4f9730f5
commit 41b7873263
7 changed files with 51 additions and 22 deletions

View File

@ -91,6 +91,8 @@ public:
void setShowToolbars(bool b) { settings->setValue(SHOW_TOOLBARS, b); }
bool getShowInformation() { return settings->value(SHOW_INFO, false).toBool(); }
void setShowInformation(bool b) { settings->setValue(SHOW_INFO, b); }
bool getShowTimeInInformation() { return settings->value(SHOW_TIME_IN_INFO, true).toBool(); }
void setShowTimeInInformation(bool b) { settings->setValue(SHOW_TIME_IN_INFO, b); }
QDate getLastVersionCheck() { return settings->value(LAST_VERSION_CHECK).toDate(); }
void setLastVersionCheck(const QDate &date) { settings->setValue(LAST_VERSION_CHECK, date); }
int getNumDaysBetweenVersionChecks() { return settings->value(NUM_DAYS_BETWEEN_VERSION_CHECKS, 1).toInt(); }