diff options
author | Ulf Hermann <[email protected]> | 2024-06-05 09:18:04 +0200 |
---|---|---|
committer | Ulf Hermann <[email protected]> | 2024-06-19 12:18:37 +0200 |
commit | 29115a74963f87ceab6a7c762a758be94a98441a (patch) | |
tree | d7128996d6eb4b0d491cf34f8d07110185558095 /src/plugins/sqldrivers/psql/qsql_psql.cpp | |
parent | ecd38b85dc80f899b685d3c6c031dcabb3c63211 (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/psql/qsql_psql.cpp')
-rw-r--r-- | src/plugins/sqldrivers/psql/qsql_psql.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/sqldrivers/psql/qsql_psql.cpp b/src/plugins/sqldrivers/psql/qsql_psql.cpp index 7b9521fec6c..dfd1984a874 100644 --- a/src/plugins/sqldrivers/psql/qsql_psql.cpp +++ b/src/plugins/sqldrivers/psql/qsql_psql.cpp @@ -66,7 +66,7 @@ Q_DECLARE_METATYPE(PGresult*) QT_BEGIN_NAMESPACE -static Q_LOGGING_CATEGORY(lcPsql, "qt.sql.postgresql") +Q_STATIC_LOGGING_CATEGORY(lcPsql, "qt.sql.postgresql") using namespace Qt::StringLiterals; |