summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Luthi <cluthi@sente.ch>2009-07-01 10:03:52 (GMT)
committerNorwegian Rock Cat <qt-info@nokia.com>2009-07-01 10:03:52 (GMT)
commit8a8c9a2f668bedc7dd7ecf1f4f025a1587ca9fc1 (patch)
treef90c082dac9fa7006e96ed2c233d3981403c703f
parent728430d16fd62de001ba8eaccabae41feef790f2 (diff)
downloadQt-8a8c9a2f668bedc7dd7ecf1f4f025a1587ca9fc1.zip
Qt-8a8c9a2f668bedc7dd7ecf1f4f025a1587ca9fc1.tar.gz
Qt-8a8c9a2f668bedc7dd7ecf1f4f025a1587ca9fc1.tar.bz2
Fix a few typos
Merge-request: 788 Reviewed-by: Norwegian Rock Cat <qt-info@nokia.com>
-rw-r--r--src/gui/kernel/qapplication_mac.mm10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/kernel/qapplication_mac.mm b/src/gui/kernel/qapplication_mac.mm
index ad9f220..e7d5a79 100644
--- a/src/gui/kernel/qapplication_mac.mm
+++ b/src/gui/kernel/qapplication_mac.mm
@@ -1069,7 +1069,7 @@ void qt_init(QApplicationPrivate *priv, int)
if (GetCurrentProcess(&psn) == noErr) {
// Jambi needs to transform itself since most people aren't "used"
// to putting things in bundles, but other people may actually not
- // want to tranform the process (running as a helper or somethng)
+ // want to tranform the process (running as a helper or something)
// so don't do that for them. This means checking both LSUIElement
// and LSBackgroundOnly. If you set them both... well, you
// shouldn't do that.
@@ -1760,7 +1760,7 @@ QApplicationPrivate::globalEventProcessor(EventHandlerCallRef er, EventRef event
if(window) {
HIViewRef hiview;
if(HIViewGetViewForMouseEvent(HIViewGetRoot(window), event, &hiview) == noErr) {
- widget = QWidget::find((WId)hiview);;
+ widget = QWidget::find((WId)hiview);
if (widget) {
// Make sure we didn't pass over a widget with a "fake hole" in it.
QWidget *otherWidget = QApplication::widgetAt(where.h, where.v);
@@ -1878,8 +1878,8 @@ QApplicationPrivate::globalEventProcessor(EventHandlerCallRef er, EventRef event
QMacTabletHash *tabletHash = qt_mac_tablet_hash();
if (!tabletHash->contains(tabletPointRec.deviceID)) {
- qWarning("QCocoaView handleTabletEvent: This tablet device is unknown"
- " (received no proximity event for it). Discarding event.");
+ qWarning("handleTabletEvent: This tablet device is unknown"
+ " (received no proximity event for it). Discarding event.");
return false;
}
QTabletDeviceData &deviceData = tabletHash->operator[](tabletPointRec.deviceID);
@@ -1922,7 +1922,7 @@ QApplicationPrivate::globalEventProcessor(EventHandlerCallRef er, EventRef event
QApplication::sendSpontaneousEvent(widget, &e);
if (e.isAccepted()) {
#if defined(DEBUG_MOUSE_MAPS)
- qDebug("Bail out early due to table acceptance");
+ qDebug("Bail out early due to tablet acceptance");
#endif
break;
}