mirror of
https://github.com/Skycoder42/QHotkey.git
synced 2026-11-19 12:49:58 +03:00
logging update
use QLoggingCategory now to provides improved logging
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user