diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-04-26 13:51:01 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-05-06 03:22:14 +0200 |
commit | 58df315ad11361323ed0dee125b1ee58e5958dd8 (patch) | |
tree | 17604d00817839507f9b0c3f86736fc2bff16b53 /src/corelib/global/qlogging.cpp | |
parent | b0e613d10e2c9c9ae3f60d60f511c4c107062a09 (diff) |
Fix compiler warning from deprecated QString conversion
Use the string literals instead.
Change-Id: Ic85d0845c211744a79af7e48b180129797d3d612
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Diffstat (limited to 'src/corelib/global/qlogging.cpp')
-rw-r--r-- | src/corelib/global/qlogging.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qlogging.cpp b/src/corelib/global/qlogging.cpp index 88656e6b86..b57f36bb6e 100644 --- a/src/corelib/global/qlogging.cpp +++ b/src/corelib/global/qlogging.cpp @@ -1740,7 +1740,7 @@ static bool android_default_message_handler(QtMsgType type, // If application name is a tag ensure it has no spaces // If a category is defined, use it as an Android logging tag __android_log_print(priority, isDefaultCategory(context.category) ? - qPrintable(QCoreApplication::applicationName().replace(" ", "_")) : context.category, + qPrintable(QCoreApplication::applicationName().replace(u' ', u'_')) : context.category, "%s\n", qPrintable(formattedMessage)); return true; // Prevent further output to stderr |