summaryrefslogtreecommitdiffstats
path: root/src/plugins/sqldrivers/mysql/qsql_mysql.cpp
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2024-06-05 09:18:04 +0200
committerUlf Hermann <[email protected]>2024-06-19 12:18:37 +0200
commit29115a74963f87ceab6a7c762a758be94a98441a (patch)
treed7128996d6eb4b0d491cf34f8d07110185558095 /src/plugins/sqldrivers/mysql/qsql_mysql.cpp
parentecd38b85dc80f899b685d3c6c031dcabb3c63211 (diff)
Straighten out various logging categories
Either make them static or declare them in a header. We want them to be static wherever possible, in order to reduce the number of visible symbols. If they can't be static, however, they should at least be declared in only one place. Task-number: QTBUG-67692 Change-Id: I6f3b596ed4f0adc9873dd0a5f54f055a991a6207 Reviewed-by: Thiago Macieira <[email protected]> Reviewed-by: Volker Hilsheimer <[email protected]>
Diffstat (limited to 'src/plugins/sqldrivers/mysql/qsql_mysql.cpp')
-rw-r--r--src/plugins/sqldrivers/mysql/qsql_mysql.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/sqldrivers/mysql/qsql_mysql.cpp b/src/plugins/sqldrivers/mysql/qsql_mysql.cpp
index cfd4931b466..71b406c1a2d 100644
--- a/src/plugins/sqldrivers/mysql/qsql_mysql.cpp
+++ b/src/plugins/sqldrivers/mysql/qsql_mysql.cpp
@@ -53,7 +53,7 @@ struct QT_MYSQL_TIME
QT_BEGIN_NAMESPACE
-static Q_LOGGING_CATEGORY(lcMysql, "qt.sql.mysql")
+Q_STATIC_LOGGING_CATEGORY(lcMysql, "qt.sql.mysql")
using namespace Qt::StringLiterals;