m_animation->stop();
connect(m_animation, SIGNAL(valueChanged(QVariant)), this, SLOT(buttonMoved(QVariant)));
m_animation->setStartValue(pos());
m_animation->setEndValue(position);
m_animation->setDuration(breakTime);
m_animation->start(QAbstractAnimation::DeleteWhenStopped);
Thanks guys.
And this shows Dalvik Debug Monitor:
10-13 21:14:16.519: I/PowerManagerService(160): Light
Animator Finished curIntValue=255
10-13 21:14:16.689: I/DEBUG(14033): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-13 21:14:16.689: I/DEBUG(14033): Build fingerprint: 'samsung/GT-S5830/GT-S5830:2.3.3/GINGERBREAD/XWKPY:user/release-keys'
10-13 21:14:16.689: I/DEBUG(14033): pid: 20454, tid: 20464 >>> sk.app.App <<<
10-13 21:14:16.689: I/DEBUG(14033): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000010
10-13 21:14:16.689: I/DEBUG(14033): r0 003224d8 r1 00000001 r2 004765e0 r3 00000011
10-13 21:14:16.689: I/DEBUG(14033): r4 0022c888 r5 471e3d80 r6 0022c8b4 r7 471e3d90
10-13 21:14:16.699: I/DEBUG(14033): r8 8164605d r9 00000000 10 00100000 fp 471e3e5c
10-13 21:14:16.699: I/DEBUG(14033): ip 81d7fe24 sp 471e3d78 lr 81948631 pc 00000010 cpsr 20000030
10-13 21:14:16.699: I/DEBUG(14033): d0 3fe0000000000000 d1 0000000000000000
10-13 21:14:16.699: I/DEBUG(14033): d2 4273a5b8204cb000 d3 40a0000040a00000
10-13 21:14:16.699: I/DEBUG(14033): d4 439b800041100000 d5 0000001941c80000
10-13 21:14:16.699: I/DEBUG(14033): d6 0000013741c80000 d7 000000003f800000
10-13 21:14:16.699: I/DEBUG(14033): d8 0000000000000000 d9 0000000000000000
10-13 21:14:16.699: I/DEBUG(14033): d10 0000000000000000 d11 0000000000000000
10-13 21:14:16.699: I/DEBUG(14033): d12 0000000000000000 d13 0000000000000000
10-13 21:14:16.699: I/DEBUG(14033): d14 0000000000000000 d15 0000000000000000
10-13 21:14:16.699: I/DEBUG(14033): scr 20000012
10-13 21:14:16.759: I/DEBUG(14033): #00 pc 00000010
10-13 21:14:16.759: I/DEBUG(14033): #01 lr 81948631 /data/data/org.kde.necessitas.ministro/files/qt/lib/libQtGui.so
10-13 21:14:16.759: I/DEBUG(14033): code around pc:
10-13 21:14:16.759: I/DEBUG(14033): code around lr:
10-13 21:14:16.759: I/DEBUG(14033): 81948610 e004facf 1c381c05 fce6f7fd 1c38e023
10-13 21:14:16.759: I/DEBUG(14033): 81948620 fce2f7fd 28009807 6803d002 4798685b
10-13 21:14:16.759: I/DEBUG(14033): 81948630 330468ab e00460ab 331c466b af06ad02
10-13 21:14:16.759: I/DEBUG(14033): 81948640 686b9301 d0002b00 68abe08d 429368ea
10-13 21:14:16.759: I/DEBUG(14033): 81948650 e088d100 1c38681b 9a011c31 f7fd9307
10-13 21:14:16.759: I/DEBUG(14033): stack:
10-13 21:14:16.759: I/DEBUG(14033): 471e3d38 00000000
10-13 21:14:16.759: I/DEBUG(14033): 471e3d3c 810ab6d5 /data/data/org.kde.necessitas.ministro/files/qt/lib/libQtCore.so
10-13 21:14:16.759: I/DEBUG(14033): 471e3d40 471e3d98
10-13 21:14:16.759: I/DEBUG(14033): 471e3d44 819481bf /data/data/org.kde.necessitas.ministro/files/qt/lib/libQtGui.so
10-13 21:14:16.759: I/DEBUG(14033): 471e3d48 471e3d98
10-13 21:14:16.759: I/DEBUG(14033): 471e3d4c 003224d8
10-13 21:14:16.759: I/DEBUG(14033): 471e3d50 471e3d90
10-13 21:14:16.759: I/DEBUG(14033): 471e3d54 471e3d90
10-13 21:14:16.759: I/DEBUG(14033): 471e3d58 0022c8b4
10-13 21:14:16.759: I/DEBUG(14033): 471e3d5c 8194643f /data/data/org.kde.necessitas.ministro/files/qt/lib/libQtGui.so
10-13 21:14:16.759: I/DEBUG(14033): 471e3d60 471e3d90
10-13 21:14:16.759: I/DEBUG(14033): 471e3d64 471e3d80
10-13 21:14:16.759: I/DEBUG(14033): 471e3d68 0022c8b4
10-13 21:14:16.759: I/DEBUG(14033): 471e3d6c 81945ff5 /data/data/org.kde.necessitas.ministro/files/qt/lib/libQtGui.so
10-13 21:14:16.759: I/DEBUG(14033): 471e3d70 df002777
10-13 21:14:16.759: I/DEBUG(14033): 471e3d74 e3a070ad
10-13 21:14:16.759: I/DEBUG(14033): #00 471e3d78 8164605d /data/data/org.kde.necessitas.ministro/files/qt/plugins/platforms/android/libandroidGL-9.so
10-13 21:14:16.759: I/DEBUG(14033): 471e3d7c 471e3d94
10-13 21:14:16.759: I/DEBUG(14033): 471e3d80 002f12e0
10-13 21:14:16.759: I/DEBUG(14033): 471e3d84 00000000
10-13 21:14:16.759: I/DEBUG(14033): 471e3d88 002f12f4
10-13 21:14:16.759: I/DEBUG(14033): 471e3d8c 002f12f8
10-13 21:14:16.769: I/DEBUG(14033): 471e3d90 004765d8
10-13 21:14:16.769: I/DEBUG(14033): 471e3d94 003224d8
10-13 21:14:16.769: I/DEBUG(14033): 471e3d98 002f12e0
10-13 21:14:16.769: I/DEBUG(14033): 471e3d9c 001ea6d0
10-13 21:14:16.769: I/DEBUG(14033): 471e3da0 00000000
10-13 21:14:16.769: I/DEBUG(14033): 471e3da4 0022c888
10-13 21:14:16.769: I/DEBUG(14033): 471e3da8 00000001
10-13 21:14:16.769: I/DEBUG(14033): 471e3dac 001e958c
10-13 21:14:16.769: I/DEBUG(14033): 471e3db0 00000000
10-13 21:14:16.769: I/DEBUG(14033): 471e3db4 8194877d /data/data/org.kde.necessitas.ministro/files/qt/lib/libQtGui.so
10-13 21:14:16.769: I/DEBUG(14033): 471e3db8 001e9580
10-13 21:14:16.769: I/DEBUG(14033): 471e3dbc 8111c687 /data/data/org.kde.necessitas.ministro/files/qt/lib/libQtCore.so