Remove qDebug
This commit is contained in:
parent
ab9dc6609c
commit
6fce9e5dcc
3 changed files with 0 additions and 6 deletions
|
@ -21,7 +21,6 @@
|
|||
*/
|
||||
#include <QString>
|
||||
#include <QFile>
|
||||
#include <QDebug>
|
||||
|
||||
class Battery : public QObject
|
||||
{
|
||||
|
|
|
@ -50,7 +50,6 @@ void Settings::load()
|
|||
int nextLimit = file.readAll().toInt();
|
||||
if(nextLimit >= 10 && nextLimit <= 50) {
|
||||
lowerLimit = nextLimit;
|
||||
qDebug() << "Lower limit loaded:" << lowerLimit;
|
||||
emit lowerLimitChanged();
|
||||
}
|
||||
file.close();
|
||||
|
@ -60,7 +59,6 @@ void Settings::load()
|
|||
int nextLimit = file.readAll().toInt();
|
||||
if(nextLimit >= 60 && nextLimit <= 99) {
|
||||
upperLimit = nextLimit;
|
||||
qDebug() << "Upper limit loaded:" << upperLimit;
|
||||
emit upperLimitChanged();
|
||||
}
|
||||
file.close();
|
||||
|
@ -75,7 +73,6 @@ void Settings::save()
|
|||
file.setFileName("lowerLimit");
|
||||
if(file.open(QIODevice::WriteOnly)) {
|
||||
if(file.write(QString("%1").arg(lowerLimit).toUtf8())) {
|
||||
qDebug() << "Lower limit saved:" << lowerLimit;
|
||||
}
|
||||
file.close();
|
||||
}
|
||||
|
@ -83,7 +80,6 @@ void Settings::save()
|
|||
file.setFileName("upperLimit");
|
||||
if(file.open(QIODevice::WriteOnly)) {
|
||||
if(file.write(QString("%1").arg(upperLimit).toUtf8())) {
|
||||
qDebug() << "Upper limit saved:" << upperLimit;
|
||||
}
|
||||
file.close();
|
||||
}
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#define SETTINGS_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QDebug>
|
||||
#include <QFile>
|
||||
#include <QDir>
|
||||
#include <QStandardPaths>
|
||||
|
|
Loading…
Reference in a new issue