summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwidget.cpp
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2010-11-16 20:47:14 (GMT)
committerSergio Ahumada <sergio.ahumada@nokia.com>2010-11-16 20:47:50 (GMT)
commite963a1365d495649a1c8930f4776c78781218881 (patch)
treea6ad2aaa366610a59b20afa11cae881f77b6eb98 /src/gui/kernel/qwidget.cpp
parenta40e77495612db0b89730debbacc585a22d0eb3a (diff)
downloadQt-e963a1365d495649a1c8930f4776c78781218881.zip
Qt-e963a1365d495649a1c8930f4776c78781218881.tar.gz
Qt-e963a1365d495649a1c8930f4776c78781218881.tar.bz2
Doc: Fixing typo
Diffstat (limited to 'src/gui/kernel/qwidget.cpp')
-rw-r--r--src/gui/kernel/qwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp
index e22ec55..39c734e 100644
--- a/src/gui/kernel/qwidget.cpp
+++ b/src/gui/kernel/qwidget.cpp
@@ -8836,7 +8836,7 @@ void QWidget::mousePressEvent(QMouseEvent *event)
QWidget* w;
while ((w = QApplication::activePopupWidget()) && w != this){
w->close();
- if (QApplication::activePopupWidget() == w) // widget does not want to dissappear
+ if (QApplication::activePopupWidget() == w) // widget does not want to disappear
w->hide(); // hide at least
}
if (!rect().contains(event->pos())){
@@ -9305,7 +9305,7 @@ void QWidget::setInputMethodHints(Qt::InputMethodHints hints)
#ifndef QT_NO_IM
Q_D(QWidget);
d->imHints = hints;
- // Optimisation to update input context only it has already been created.
+ // Optimization to update input context only it has already been created.
if (d->ic || qApp->d_func()->inputContext) {
QInputContext *ic = inputContext();
if (ic)