summaryrefslogtreecommitdiffstats
path: root/src/gui/util
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@nokia.com>2010-02-18 08:10:57 (GMT)
committerMorten Johan Sørvig <morten.sorvig@nokia.com>2010-02-18 08:12:23 (GMT)
commiteeb121d54e345e92ab74d8c43e07d803a0e144ea (patch)
treeae6d5d595d1b46bcaa721efc95c98c97e078d214 /src/gui/util
parent7eb4b5efe05708b1e5e31ad5c4b150f601f90049 (diff)
downloadQt-eeb121d54e345e92ab74d8c43e07d803a0e144ea.zip
Qt-eeb121d54e345e92ab74d8c43e07d803a0e144ea.tar.gz
Qt-eeb121d54e345e92ab74d8c43e07d803a0e144ea.tar.bz2
Compile.
NSInteger is int/long on 32/64 bit.
Diffstat (limited to 'src/gui/util')
-rw-r--r--src/gui/util/qsystemtrayicon_mac.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/util/qsystemtrayicon_mac.mm b/src/gui/util/qsystemtrayicon_mac.mm
index 2359822..5cadbbd 100644
--- a/src/gui/util/qsystemtrayicon_mac.mm
+++ b/src/gui/util/qsystemtrayicon_mac.mm
@@ -382,6 +382,7 @@ QT_END_NAMESPACE
[self menuTrackingDone:nil];
}
+extern Qt::MouseButton cocoaButton2QtButton(NSInteger buttonNum);
- (void)otherMouseDown:(NSEvent *)mouseEvent
{
[self mousePressed:mouseEvent button:cocoaButton2QtButton([mouseEvent buttonNumber])];