summaryrefslogtreecommitdiffstats
path: root/src/dbus
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-08-20 08:22:15 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-08-20 10:36:50 (GMT)
commit5fa19cbf945f43146f2b0e0f93da53fec27fd543 (patch)
tree9906406fc967f9510d647415ab7d4dbd24b67e1e /src/dbus
parentc7c7b364d9816d03c7475d6592d50dec5401c151 (diff)
downloadQt-5fa19cbf945f43146f2b0e0f93da53fec27fd543.zip
Qt-5fa19cbf945f43146f2b0e0f93da53fec27fd543.tar.gz
Qt-5fa19cbf945f43146f2b0e0f93da53fec27fd543.tar.bz2
Remove a few warnings when compiling Qt and unexport some functions.
Make some functions static that are not used anywhere but in the current file. Others that are used, add the declaration to the _p.h to ensure we don't forget about them. Finally, there's no need to enable debugging code if it's not used anywhere. Reviewed-by: TrustMe
Diffstat (limited to 'src/dbus')
-rw-r--r--src/dbus/qdbusmessage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus/qdbusmessage.cpp b/src/dbus/qdbusmessage.cpp
index a676a01..851eaf0 100644
--- a/src/dbus/qdbusmessage.cpp
+++ b/src/dbus/qdbusmessage.cpp
@@ -707,7 +707,7 @@ QDBusMessage::MessageType QDBusMessage::type() const
\sa QDBusConnection::send()
*/
#ifndef QT_NO_DEBUG_STREAM
-QDebug operator<<(QDebug dbg, QDBusMessage::MessageType t)
+static QDebug operator<<(QDebug dbg, QDBusMessage::MessageType t)
{
switch (t)
{