diff options
author | Jerome Pasion <jerome.pasion@nokia.com> | 2010-08-09 11:55:23 (GMT) |
---|---|---|
committer | Jerome Pasion <jerome.pasion@nokia.com> | 2010-08-09 11:55:23 (GMT) |
commit | eea84818e98af917d3cf2bf04ea17a416ef9d55e (patch) | |
tree | a62fa69f175eb1efd745676950888326d8046beb /src/gui/widgets/qmenu.cpp | |
parent | ac355872573c7131e4b783cabe00c5656dc668af (diff) | |
download | Qt-eea84818e98af917d3cf2bf04ea17a416ef9d55e.zip Qt-eea84818e98af917d3cf2bf04ea17a416ef9d55e.tar.gz Qt-eea84818e98af917d3cf2bf04ea17a416ef9d55e.tar.bz2 |
Correcting spelling mistakes in documentation. Part of fix for QTBUG-11938.
Reviewer: David Boddie
Task number: QTBUG-11938
Diffstat (limited to 'src/gui/widgets/qmenu.cpp')
-rw-r--r-- | src/gui/widgets/qmenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/qmenu.cpp b/src/gui/widgets/qmenu.cpp index 7941c4e..4bea6de 100644 --- a/src/gui/widgets/qmenu.cpp +++ b/src/gui/widgets/qmenu.cpp @@ -262,7 +262,7 @@ void QMenuPrivate::updateActionRects() const const int deskFw = style->pixelMetric(QStyle::PM_MenuDesktopFrameWidth, &opt, q); const int tearoffHeight = tearoff ? style->pixelMetric(QStyle::PM_MenuTearoffHeight, &opt, q) : 0; - //for compatability now - will have to refactor this away.. + //for compatibility now - will have to refactor this away tabWidth = 0; maxIconWidth = 0; hasCheckableItems = false; @@ -1154,7 +1154,7 @@ void QMenuPrivate::_q_actionHovered() bool QMenuPrivate::hasMouseMoved(const QPoint &globalPos) { - //determines if the mouse has moved (ie its intial position has + //determines if the mouse has moved (ie its initial position has //changed by more than QApplication::startDragDistance() //or if there were at least 6 mouse motions) return motions > 6 || |