summaryrefslogtreecommitdiffstats
path: root/src/sql
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-02-15 18:49:06 +0900
committerMichele Calgaro <[email protected]>2024-02-15 18:58:23 +0900
commit1d318a47b0b45a7f916f526de60d628302cbfd4c (patch)
tree40e178533acb193432ab512d05eb3f03ff4a855c /src/sql
parent67bff2edcacb208dc44dcd521386bef686dc6dbf (diff)
downloadtqt3-1d318a47b0b45a7f916f526de60d628302cbfd4c.tar.gz
tqt3-1d318a47b0b45a7f916f526de60d628302cbfd4c.zip
Replace QT_STATIC_CONST_* with actual definitions
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/sql')
-rw-r--r--src/sql/ntqsqldatabase.h2
-rw-r--r--src/sql/qsqldatabase.cpp2
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;