summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-11-11 15:28:57 (GMT)
committeraxis <qt-info@nokia.com>2009-11-11 15:28:57 (GMT)
commit929dd1e7bc02c51e324425a79243f0ff08fb1508 (patch)
tree64f76e5c0a291952d056b79720184f51dad3c887 /src
parent0ce94a763cfa9ec0829e096795a52446c74e4557 (diff)
downloadQt-929dd1e7bc02c51e324425a79243f0ff08fb1508.zip
Qt-929dd1e7bc02c51e324425a79243f0ff08fb1508.tar.gz
Qt-929dd1e7bc02c51e324425a79243f0ff08fb1508.tar.bz2
Fixed some initializers and saved some memory.
RevBy: Trust me
Diffstat (limited to 'src')
-rw-r--r--src/gui/kernel/qapplication_s60.cpp6
-rw-r--r--src/gui/kernel/qt_s60_p.h4
2 files changed, 7 insertions, 3 deletions
diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp
index 5578a72..0c2099b 100644
--- a/src/gui/kernel/qapplication_s60.cpp
+++ b/src/gui/kernel/qapplication_s60.cpp
@@ -319,7 +319,11 @@ void QLongTapTimer::RunL()
}
QSymbianControl::QSymbianControl(QWidget *w)
- : CCoeControl(), qwidget(w), m_ignoreFocusChanged(false)
+ : CCoeControl()
+ , qwidget(w)
+ , m_longTapDetector(0)
+ , m_ignoreFocusChanged(0)
+ , m_previousEventLongTap(0)
{
}
diff --git a/src/gui/kernel/qt_s60_p.h b/src/gui/kernel/qt_s60_p.h
index a1e760c..3ae76ae 100644
--- a/src/gui/kernel/qt_s60_p.h
+++ b/src/gui/kernel/qt_s60_p.h
@@ -202,9 +202,9 @@ private:
private:
QWidget *qwidget;
- bool m_ignoreFocusChanged;
QLongTapTimer* m_longTapDetector;
- bool m_previousEventLongTap;
+ bool m_ignoreFocusChanged : 1;
+ bool m_previousEventLongTap : 1;
#ifdef Q_WS_S60
// Fader object used to fade everything except this menu and the CBA.