summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-02-15 18:48:52 +0900
committerMichele Calgaro <[email protected]>2024-02-15 18:48:52 +0900
commit6681698396e454494edfe62a00f54434b1b7cd43 (patch)
treead4f2bb1d429ff53036870082c473c4792b42199
parente5066714434aad871d413737c4f72c9494ff0973 (diff)
downloaddbus-1-tqt-6681698396e454494edfe62a00f54434b1b7cd43.tar.gz
dbus-1-tqt-6681698396e454494edfe62a00f54434b1b7cd43.zip
Replace QT_STATIC_CONST_* with actual definitions
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--src/tqdbusconnection.cpp2
-rw-r--r--src/tqdbusconnection.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tqdbusconnection.cpp b/src/tqdbusconnection.cpp
index 0056570..f61f2f2 100644
--- a/src/tqdbusconnection.cpp
+++ b/src/tqdbusconnection.cpp
@@ -31,7 +31,7 @@
#include "tqdbusmessage_p.h"
-QT_STATIC_CONST_IMPL char *TQT_DBusConnection::default_connection_name = "qt_dbus_default_connection";
+const char *TQT_DBusConnection::default_connection_name = "qt_dbus_default_connection";
class TQT_DBusConnectionManager
{
diff --git a/src/tqdbusconnection.h b/src/tqdbusconnection.h
index 61362b1..20e04c4 100644
--- a/src/tqdbusconnection.h
+++ b/src/tqdbusconnection.h
@@ -654,7 +654,7 @@ public:
/**
* String used as the default parameter for connection names
*/
- QT_STATIC_CONST char *default_connection_name;
+ static const char *default_connection_name;
private:
TQT_DBusConnectionPrivate *d;