Address reviewed issues
This commit is contained in:
parent
caa74ae219
commit
8fd82caf96
1 changed files with 5 additions and 6 deletions
|
@ -17,9 +17,8 @@
|
||||||
along with Fernschreiber. If not, see <http://www.gnu.org/licenses/>.
|
along with Fernschreiber. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef DEBUGLOG_H
|
#ifndef DEBUGLOGJS_H
|
||||||
#define DEBUGLOG_H
|
#define DEBUGLOGJS_H
|
||||||
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QQmlEngine>
|
#include <QQmlEngine>
|
||||||
|
@ -39,14 +38,14 @@ public:
|
||||||
void setEnabled(bool value) {
|
void setEnabled(bool value) {
|
||||||
if (enabled != value) {
|
if (enabled != value) {
|
||||||
enabled = value;
|
enabled = value;
|
||||||
Q_EMIT enabledChanged(value);
|
Q_EMIT enabledChanged();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
void enabledChanged(bool value);
|
void enabledChanged();
|
||||||
private:
|
private:
|
||||||
bool enabled;
|
bool enabled;
|
||||||
const QLoggingCategory category;
|
const QLoggingCategory category;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // DEBUGLOG_H
|
#endif // DEBUGLOGJS_H
|
||||||
|
|
Loading…
Reference in a new issue