diff options
author | Morten Johan Sørvig <morten.sorvig@digia.com> | 2014-12-01 11:26:31 +0100 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@digia.com> | 2015-03-26 11:01:28 +0100 |
commit | dee0daa89a5800745790d43cdcaa3c6377e3ac3d (patch) | |
tree | df62f546539355ff1514aea724adb629effc7108 /src/gui/kernel/qhighdpiscaling_p.h | |
parent | 35075e7db476da4fb77673d9cb5e1c8dd5da8c74 (diff) |
WIP: Add logging via category "qt.scaling"
Change-Id: Ia94ba9a8961f1a31635135545ded0078a93de380
Diffstat (limited to 'src/gui/kernel/qhighdpiscaling_p.h')
-rw-r--r-- | src/gui/kernel/qhighdpiscaling_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qhighdpiscaling_p.h b/src/gui/kernel/qhighdpiscaling_p.h index bfa50f593a..8b10311c69 100644 --- a/src/gui/kernel/qhighdpiscaling_p.h +++ b/src/gui/kernel/qhighdpiscaling_p.h @@ -46,6 +46,7 @@ #include <QtCore/qmargins.h> #include <QtCore/qrect.h> #include <QtCore/qvector.h> +#include <QtCore/qloggingcategory.h> #include <QtGui/qregion.h> // This file implmements utility functions for high-dpi scaling on operating @@ -73,6 +74,8 @@ QT_BEGIN_NAMESPACE +Q_DECLARE_LOGGING_CATEGORY(lcScaling); + class Q_GUI_EXPORT QHighDpiScaling { public: static bool isActive() { return m_active; } |