diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-10-31 10:36:57 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-31 11:29:08 +0100 |
commit | e277575987657aa07444eea9bee99769f039d3b0 (patch) | |
tree | 549c419596e340c8ad123df44fc75662ed47b2a7 /src/gui/kernel/qcursor_qpa.cpp | |
parent | 5761d8546f3ff3802cae85ed5224c2bdd9524452 (diff) |
Fix most warnings about assignments of QAtomicInt.
Change-Id: Ide409d72d2637b68ec2a85aaca4bc783a7e911e7
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Diffstat (limited to 'src/gui/kernel/qcursor_qpa.cpp')
-rw-r--r-- | src/gui/kernel/qcursor_qpa.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/kernel/qcursor_qpa.cpp b/src/gui/kernel/qcursor_qpa.cpp index 40a15317ee..7b3059e1df 100644 --- a/src/gui/kernel/qcursor_qpa.cpp +++ b/src/gui/kernel/qcursor_qpa.cpp @@ -58,9 +58,8 @@ static int nextCursorId = Qt::BitmapCursor; *****************************************************************************/ QCursorData::QCursorData(Qt::CursorShape s) - : cshape(s), bm(0), bmm(0), hx(0), hy(0), id(s) + : ref(1), cshape(s), bm(0), bmm(0), hx(0), hy(0), id(s) { - ref = 1; } QCursorData::~QCursorData() |