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/>.
|
||||
*/
|
||||
|
||||
#ifndef DEBUGLOG_H
|
||||
#define DEBUGLOG_H
|
||||
|
||||
#ifndef DEBUGLOGJS_H
|
||||
#define DEBUGLOGJS_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QQmlEngine>
|
||||
|
@ -39,14 +38,14 @@ public:
|
|||
void setEnabled(bool value) {
|
||||
if (enabled != value) {
|
||||
enabled = value;
|
||||
Q_EMIT enabledChanged(value);
|
||||
Q_EMIT enabledChanged();
|
||||
}
|
||||
}
|
||||
Q_SIGNALS:
|
||||
void enabledChanged(bool value);
|
||||
void enabledChanged();
|
||||
private:
|
||||
bool enabled;
|
||||
const QLoggingCategory category;
|
||||
};
|
||||
|
||||
#endif // DEBUGLOG_H
|
||||
#endif // DEBUGLOGJS_H
|
||||
|
|
Loading…
Reference in a new issue