summaryrefslogtreecommitdiffstats
path: root/src/gui/util
diff options
context:
space:
mode:
authorjasplin <qt-info@nokia.com>2009-04-20 09:44:28 (GMT)
committerjasplin <qt-info@nokia.com>2009-04-20 09:45:46 (GMT)
commit33259249106e16052b60c55a35539c9f8cb0414d (patch)
tree3feed6ecd4fdc1420bf3e8ea76c58c400dc587ad /src/gui/util
parent3bcbfcfa466890469f3053a3c5987bc2cf85317b (diff)
downloadQt-33259249106e16052b60c55a35539c9f8cb0414d.zip
Qt-33259249106e16052b60c55a35539c9f8cb0414d.tar.gz
Qt-33259249106e16052b60c55a35539c9f8cb0414d.tar.bz2
Get rid of compiler warning.
Reviewed-by: TrustMe
Diffstat (limited to 'src/gui/util')
-rw-r--r--src/gui/util/qcompleter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/util/qcompleter.cpp b/src/gui/util/qcompleter.cpp
index 7571dfe..a622385 100644
--- a/src/gui/util/qcompleter.cpp
+++ b/src/gui/util/qcompleter.cpp
@@ -1080,7 +1080,7 @@ void QCompleter::setPopup(QAbstractItemView *popup)
popup->hide();
popup->setParent(0, Qt::Popup);
- Qt::FocusPolicy origPolicy;
+ Qt::FocusPolicy origPolicy = Qt::NoFocus;
if (d->widget)
origPolicy = d->widget->focusPolicy();
popup->setFocusPolicy(Qt::NoFocus);