diff options
author | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2009-10-28 07:41:31 (GMT) |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2009-10-28 08:42:58 (GMT) |
commit | 928bb6dfe9b3d5db9c7d669979ae6ccdf661df38 (patch) | |
tree | 60474230b311ca10c6d4c30bc8ccfbd07750dfbb /src/gui | |
parent | 1583d643285641bf71e6a107331d788acca9850c (diff) | |
download | Qt-928bb6dfe9b3d5db9c7d669979ae6ccdf661df38.zip Qt-928bb6dfe9b3d5db9c7d669979ae6ccdf661df38.tar.gz Qt-928bb6dfe9b3d5db9c7d669979ae6ccdf661df38.tar.bz2 |
Fix namespace build.
At least Qt fails building with a namespace on Mac without this
change. What happends is that inserting a namespace before the
includes, will add the namespace twize if the included files also
inserts the namespace.
Rev-By: Alexis
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qdesktopwidget.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/kernel/qdesktopwidget.cpp b/src/gui/kernel/qdesktopwidget.cpp index b1e1008..c6d5000 100644 --- a/src/gui/kernel/qdesktopwidget.cpp +++ b/src/gui/kernel/qdesktopwidget.cpp @@ -40,12 +40,11 @@ ****************************************************************************/ #include "qglobal.h" - -QT_BEGIN_NAMESPACE - #include "qdesktopwidget.h" #include "qwidget_p.h" +QT_BEGIN_NAMESPACE + const QRect QDesktopWidget::screenGeometry(const QWidget *widget) const { QRect rect = QWidgetPrivate::screenGeometry(widget); |