summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qmenu.cpp
diff options
context:
space:
mode:
authorThomas Zander <t.zander@nokia.com>2010-08-11 08:07:59 (GMT)
committerThomas Zander <t.zander@nokia.com>2010-08-11 08:07:59 (GMT)
commit02e0523fe2b1dfd08eadaf127023306f6aa64c6f (patch)
tree26f374407ac0976e69f092517d69e1c93332492c /src/gui/widgets/qmenu.cpp
parentd501b04974df3615ac12fa93e11e893a44fbe715 (diff)
parentc7a18308a2725e4d1763777cb549f1ae74848005 (diff)
downloadQt-02e0523fe2b1dfd08eadaf127023306f6aa64c6f.zip
Qt-02e0523fe2b1dfd08eadaf127023306f6aa64c6f.tar.gz
Qt-02e0523fe2b1dfd08eadaf127023306f6aa64c6f.tar.bz2
Merge commit 'remotes/origin/4.7' into qt47s2
Conflicts: doc/src/examples/simpletreemodel.qdoc doc/src/examples/spinboxdelegate.qdoc doc/src/index.qdoc src/declarative/qml/qdeclarativeimageprovider.cpp
Diffstat (limited to 'src/gui/widgets/qmenu.cpp')
-rw-r--r--src/gui/widgets/qmenu.cpp4
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 ||