summaryrefslogtreecommitdiffstats
path: root/src/quick3d/quick3dscene2d
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2017-03-31 11:43:51 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2017-03-31 13:23:27 +0000
commitacde192b771f1baa2f01cac30c18ac9ce7054b28 (patch)
tree6e22f03baad72a204bae9ffb787c9215c928a62d /src/quick3d/quick3dscene2d
parentc70a1d339e17c7fa12ee88d40b1455f07b254405 (diff)
Don't explicitly disable the Qt3D category logging
Category logging is off by default, so explicitly turning it off will just make it harder to turn it on in the application. qt.*.debug has special behavior in the sense that defaults to off. Other categories, like Qt3D.*.debug default to true. Therefore the only correct way in Qt 3D is to always specify warning-and-up as the default enabled severity. Change-Id: I91daf48e049b7a9fcfac9720982138b178ee4804 Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Diffstat (limited to 'src/quick3d/quick3dscene2d')
-rw-r--r--src/quick3d/quick3dscene2d/qt3dquickscene2d_logging.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick3d/quick3dscene2d/qt3dquickscene2d_logging.cpp b/src/quick3d/quick3dscene2d/qt3dquickscene2d_logging.cpp
index c9af316de..e60ba0fde 100644
--- a/src/quick3d/quick3dscene2d/qt3dquickscene2d_logging.cpp
+++ b/src/quick3d/quick3dscene2d/qt3dquickscene2d_logging.cpp
@@ -41,7 +41,7 @@ QT_BEGIN_NAMESPACE
namespace Qt3DRender {
namespace Quick {
-Q_LOGGING_CATEGORY(Scene2D, "Qt3D.Scene2D")
+Q_LOGGING_CATEGORY(Scene2D, "Qt3D.Scene2D", QtWarningMsg)
} // Quick
} // Qt3DRender