Initialize in the right order

Change-Id: I605c92bb43ea304cc812f85dc9937c161b2279f6
Reviewed-on: http://codereview.qt-project.org/5120
Reviewed-by: Matthew Cattell <matthew.cattell@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
bb10
Gunnar Sletta 2011-09-19 10:32:48 +02:00 committed by Qt by Nokia
parent b8d656d878
commit 3647a00d47
1 changed files with 2 additions and 2 deletions

View File

@ -129,11 +129,11 @@ namespace QTest
private:
QTouchEventSequence(QWidget *widget, QTouchEvent::DeviceType aDeviceType)
: targetWidget(widget), deviceType(aDeviceType), targetWindow(0)
: targetWidget(widget), targetWindow(0), deviceType(aDeviceType)
{
}
QTouchEventSequence(QWindow *window, QTouchEvent::DeviceType aDeviceType)
: targetWindow(window), deviceType(aDeviceType), targetWidget(0)
: targetWidget(0), targetWindow(window), deviceType(aDeviceType)
{
}
QTouchEventSequence(const QTouchEventSequence &v);