logging update

use QLoggingCategory now to provides improved logging
This commit is contained in:
Skycoder42
2016-02-08 12:57:35 +01:00
parent 04ce9f6a9c
commit c53a5dbcbe
8 changed files with 116 additions and 99 deletions
+3
View File
@@ -4,6 +4,7 @@
#include <QObject>
#include <QKeySequence>
#include <QPair>
#include <QLoggingCategory>
class QHotkey : public QObject
{
@@ -48,4 +49,6 @@ private:
bool registered;
};
Q_DECLARE_LOGGING_CATEGORY(logQHotkey)
#endif // QHOTKEY_H