Remove unused function
This commit is contained in:
parent
f4bf1d0763
commit
e31b791bdb
3 changed files with 0 additions and 4 deletions
|
@ -145,8 +145,6 @@ void Settings::setNotificationHighText(const QString newText) {
|
||||||
emit notificationHighTextChanged(notificationHighText);
|
emit notificationHighTextChanged(notificationHighText);
|
||||||
}
|
}
|
||||||
|
|
||||||
int Settings::bound(int value, int min, int max) {
|
|
||||||
return (value <= min ? min : (value >= max ? max : value));
|
|
||||||
void Settings::loadInteger(const char *key, int &value, const int min, const int max) {
|
void Settings::loadInteger(const char *key, int &value, const int min, const int max) {
|
||||||
int newValue = mySettings->value(key, value).toInt();
|
int newValue = mySettings->value(key, value).toInt();
|
||||||
value = (newValue <= min ? min : (newValue >= max ? max : newValue));
|
value = (newValue <= min ? min : (newValue >= max ? max : newValue));
|
||||||
|
|
|
@ -99,7 +99,6 @@ private:
|
||||||
const char* sNotificationLowText = "notificationLowText";
|
const char* sNotificationLowText = "notificationLowText";
|
||||||
const char* sNotificationHighText = "notificationHighText";
|
const char* sNotificationHighText = "notificationHighText";
|
||||||
|
|
||||||
int bound(int value, int min, int max);
|
|
||||||
void loadInteger(const char *key, int &value, const int min, const int max);
|
void loadInteger(const char *key, int &value, const int min, const int max);
|
||||||
void saveInteger(const char *key, const int &value);
|
void saveInteger(const char *key, const int &value);
|
||||||
|
|
||||||
|
|
|
@ -91,7 +91,6 @@ private:
|
||||||
const char* sNotificationHighText = "notificationHighText";
|
const char* sNotificationHighText = "notificationHighText";
|
||||||
const char* sLogFilename = "logFilename";
|
const char* sLogFilename = "logFilename";
|
||||||
|
|
||||||
int bound(int value, int min, int max);
|
|
||||||
bool loadInteger(const char *key, int &value, const int min, const int max);
|
bool loadInteger(const char *key, int &value, const int min, const int max);
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
|
|
Loading…
Reference in a new issue