src/gui/kernel/qwidget_qws.cpp
branchRCL_3
changeset 4 3b1da2848fc7
parent 3 41300fa6a67c
equal deleted inserted replaced
3:41300fa6a67c 4:3b1da2848fc7
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the QtGui module of the Qt Toolkit.
     7 ** This file is part of the QtGui module of the Qt Toolkit.
     8 **
     8 **
   285             delete d->ic;
   285             delete d->ic;
   286             d->ic =0;
   286             d->ic =0;
   287         } else {
   287         } else {
   288             // release previous focus information participating with
   288             // release previous focus information participating with
   289             // preedit preservation of qic -- while we still have a winId
   289             // preedit preservation of qic -- while we still have a winId
   290             QInputContext *qic = inputContext();
   290             QInputContext *qic = QApplicationPrivate::inputContext;
   291             if (qic)
   291             if (qic)
   292                 qic->widgetDestroyed(this);
   292                 qic->widgetDestroyed(this);
   293         }
   293         }
   294 #endif //QT_NO_IM
   294 #endif //QT_NO_IM
   295 
   295