src/gui/kernel/qwidget_x11.cpp
branchRCL_3
changeset 4 3b1da2848fc7
parent 3 41300fa6a67c
child 7 3f74d0d4af4c
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 **
  1082         if(d->ic) {
  1082         if(d->ic) {
  1083             delete d->ic;
  1083             delete d->ic;
  1084         } else {
  1084         } else {
  1085             // release previous focus information participating with
  1085             // release previous focus information participating with
  1086             // preedit preservation of qic
  1086             // preedit preservation of qic
  1087             QInputContext *qic = inputContext();
  1087             QInputContext *qic = QApplicationPrivate::inputContext;
  1088             if (qic)
  1088             if (qic)
  1089                 qic->widgetDestroyed(this);
  1089                 qic->widgetDestroyed(this);
  1090         }
  1090         }
  1091     }
  1091     }
  1092 }
  1092 }