summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorTrenton Schulz <trenton.schulz@nokia.com>2009-03-24 09:11:29 (GMT)
committerTrenton Schulz <trenton.schulz@nokia.com>2009-03-24 09:11:29 (GMT)
commit4fe23655d3fbf141e3a2c0406c7d1a929166c30f (patch)
treef7b21d7edd4da0796669601890e8b51d259ba8c4 /src/gui/widgets
parent8d9b0179a56f4ee5afc3ac6300d6bd97089eff96 (diff)
downloadQt-4fe23655d3fbf141e3a2c0406c7d1a929166c30f.zip
Qt-4fe23655d3fbf141e3a2c0406c7d1a929166c30f.tar.gz
Qt-4fe23655d3fbf141e3a2c0406c7d1a929166c30f.tar.bz2
Compile in Snow Leopard
GCC 4.2 needs to have this extern (and likely every compiler != gcc 4. Reviewed-by: Trust Me
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/qcocoamenu_mac.mm4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/qcocoamenu_mac.mm b/src/gui/widgets/qcocoamenu_mac.mm
index c5977e4..c92dfc0 100644
--- a/src/gui/widgets/qcocoamenu_mac.mm
+++ b/src/gui/widgets/qcocoamenu_mac.mm
@@ -56,6 +56,10 @@ QT_FORWARD_DECLARE_CLASS(QAction)
QT_FORWARD_DECLARE_CLASS(QWidget)
QT_FORWARD_DECLARE_CLASS(QApplication)
+QT_BEGIN_NAMESPACE
+extern bool qt_sendSpontaneousEvent(QObject*, QEvent*); //qapplication.cpp
+QT_END_NAMESPACE
+
@implementation QT_MANGLE_NAMESPACE(QCocoaMenu)
- (id)initWithQMenu:(QMenu*)menu