diff -r ef0373b55136 -r 758a864f9613 src/gui/widgets/qmenu.cpp --- a/src/gui/widgets/qmenu.cpp Fri Sep 17 08:34:18 2010 +0300 +++ b/src/gui/widgets/qmenu.cpp Mon Oct 04 01:19:32 2010 +0300 @@ -262,7 +262,7 @@ 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 @@ 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 ||