diff options
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; |