diff options
author | axis <qt-info@nokia.com> | 2009-07-06 07:28:57 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2009-07-06 07:44:36 (GMT) |
commit | 57af679669a1562d6c1d767b6a6d79835aa99a3a (patch) | |
tree | 0ccc8864e0c0e3d241da65df654072921b9511de /src/gui/kernel/qapplication_s60.cpp | |
parent | b11571133cd46e42a56d902b0b482235f18c3012 (diff) | |
download | Qt-57af679669a1562d6c1d767b6a6d79835aa99a3a.zip Qt-57af679669a1562d6c1d767b6a6d79835aa99a3a.tar.gz Qt-57af679669a1562d6c1d767b6a6d79835aa99a3a.tar.bz2 |
Removed unused static data from Qt.
This saves memory and prevents warnings from RVCT.
Diffstat (limited to 'src/gui/kernel/qapplication_s60.cpp')
-rw-r--r-- | src/gui/kernel/qapplication_s60.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp index 5829217..e13955d 100644 --- a/src/gui/kernel/qapplication_s60.cpp +++ b/src/gui/kernel/qapplication_s60.cpp @@ -72,7 +72,6 @@ QT_BEGIN_NAMESPACE -static WId autoGrabWindow = 0; // Not the same as QWidget::grab*() #if defined(QT_DEBUG) static bool appNoGrab = false; // Grabbing enabled #endif @@ -821,7 +820,6 @@ void QApplicationPrivate::openPopup(QWidget *popup) WId id = popup->effectiveWinId(); id->SetPointerCapture(true); id->SetGloballyCapturing(true); - autoGrabWindow = id; } // popups are not focus-handled by the window system (the first @@ -858,7 +856,6 @@ void QApplicationPrivate::closePopup(QWidget *popup) if (QWidgetPrivate::mouseGrabber != 0) QWidgetPrivate::mouseGrabber->grabMouse(); - autoGrabWindow = 0; if (QWidgetPrivate::keyboardGrabber != 0) QWidgetPrivate::keyboardGrabber->grabKeyboard(); |