diff options
author | Michele Calgaro <[email protected]> | 2024-02-15 18:49:06 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-02-16 10:46:31 +0900 |
commit | 33c36fae2a0814715082a8fe59f208eeb018ed1d (patch) | |
tree | 38b2cd06f694e03007946d28a6f31b65f661dfac /src/sql | |
parent | 473cd1e8a525d82f49e936d76daabe3d094a8807 (diff) | |
download | tqt3-33c36fae2a0814715082a8fe59f208eeb018ed1d.tar.gz tqt3-33c36fae2a0814715082a8fe59f208eeb018ed1d.zip |
Replace QT_STATIC_CONST_* with actual definitions
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 1d318a47b0b45a7f916f526de60d628302cbfd4c)
Diffstat (limited to 'src/sql')
-rw-r--r-- | src/sql/ntqsqldatabase.h | 2 | ||||
-rw-r--r-- | src/sql/qsqldatabase.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sql/ntqsqldatabase.h b/src/sql/ntqsqldatabase.h index a6d744877..1fed63e04 100644 --- a/src/sql/ntqsqldatabase.h +++ b/src/sql/ntqsqldatabase.h @@ -129,7 +129,7 @@ public: TQSqlDriver* driver() const; // MOC_SKIP_BEGIN - QT_STATIC_CONST char * const defaultConnection; + static const char * const defaultConnection; // MOC_SKIP_END static TQSqlDatabase* addDatabase( const TQString& type, const TQString& connectionName = defaultConnection ); diff --git a/src/sql/qsqldatabase.cpp b/src/sql/qsqldatabase.cpp index 8c42452d2..66c1725aa 100644 --- a/src/sql/qsqldatabase.cpp +++ b/src/sql/qsqldatabase.cpp @@ -87,7 +87,7 @@ #include "ntqdict.h" #include <stdlib.h> -QT_STATIC_CONST_IMPL char * const TQSqlDatabase::defaultConnection = "qt_sql_default_connection"; +const char * const TQSqlDatabase::defaultConnection = "qt_sql_default_connection"; TQPtrDict<TQSqlDriverExtension> *qt_driver_extension_dict = 0; TQPtrDict<TQSqlOpenExtension> *qt_open_extension_dict = 0; |