diff options
author | Kai Koehne <kai.koehne@qt.io> | 2018-02-13 09:57:29 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2018-02-13 13:37:15 +0000 |
commit | b733c37522abeb33f2e14f7a8fdefaf15acf42b5 (patch) | |
tree | 728403d52e9194ac4fbb81fa9942909f8cd1f3bd /src/quick/scenegraph/qsgcontextplugin.cpp | |
parent | ff08272245c099cadd433c8b5d4f98301f5e585b (diff) |
ScenGraph: Prefer printf style logging
This generates more compact code, saving 20480 bytes on disk
(Linux 64 bit, release build).
Change-Id: I73d6d88b7b61b87a5d714e131fcf86ee80c83f38
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/quick/scenegraph/qsgcontextplugin.cpp')
-rw-r--r-- | src/quick/scenegraph/qsgcontextplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/qsgcontextplugin.cpp b/src/quick/scenegraph/qsgcontextplugin.cpp index 6583883d0c..634a492aa3 100644 --- a/src/quick/scenegraph/qsgcontextplugin.cpp +++ b/src/quick/scenegraph/qsgcontextplugin.cpp @@ -139,7 +139,7 @@ QSGAdaptationBackendData *contextFactory() } if (!requestedBackend.isEmpty()) { - qCDebug(QSG_LOG_INFO) << "Loading backend" << requestedBackend; + qCDebug(QSG_LOG_INFO, "Loading backend %s", qUtf8Printable(requestedBackend)); // First look for a built-in adaptation. for (QSGContextFactoryInterface *builtInBackend : qAsConst(backendData->builtIns)) { |