summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-12-01 16:44:47 (GMT)
committerhjk <qtc-committer@nokia.com>2009-12-01 16:44:47 (GMT)
commitb8f6753b6490481a1b8bc84a85a742243ad1a785 (patch)
tree1709b1a68e3561dc75a66cb2aa9fe82da3abd02a /src
parentddc35a0fba647a9824ae45b135ff5cd098392684 (diff)
downloadQt-b8f6753b6490481a1b8bc84a85a742243ad1a785.zip
Qt-b8f6753b6490481a1b8bc84a85a742243ad1a785.tar.gz
Qt-b8f6753b6490481a1b8bc84a85a742243ad1a785.tar.bz2
compile fix for Qt in namespace
Diffstat (limited to 'src')
-rw-r--r--src/gui/styles/qgtkstyle_p.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/styles/qgtkstyle_p.cpp b/src/gui/styles/qgtkstyle_p.cpp
index 5f4ebae..22dfc62 100644
--- a/src/gui/styles/qgtkstyle_p.cpp
+++ b/src/gui/styles/qgtkstyle_p.cpp
@@ -202,8 +202,12 @@ Ptr_gnome_vfs_init QGtkStylePrivate::gnome_vfs_init = 0;
typedef int (*x11ErrorHandler)(Display*, XErrorEvent*);
+QT_END_NAMESPACE
+
Q_DECLARE_METATYPE(QGtkStylePrivate*);
+QT_BEGIN_NAMESPACE
+
static void gtkStyleSetCallback(GtkWidget*)
{
qRegisterMetaType<QGtkStylePrivate *>();