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
parent
b8d656d878
commit
3647a00d47
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue