[Kde-pim] libkleo moveToThread issues

Kevin Krammer krammer at kde.org
Sat Dec 29 15:04:00 GMT 2012


Hi,

I am trying to tackle some of the deprecation warning in KDEPIM.

One of those is about usage of a Kleo::VerifyDetachedJob::start().
There is a non-deprecated overload taking signature and signed data as shared 
pointers to QIODevices instead of QByteArray.

I tried porting the unit test first, but while it builds fine it now throughs 
tons of warnings about moveToThread failing:

QWARN  : VerifyTest::testParallelVerifyAndKeyListJobs() QObject::moveToThread: 
Current thread (0x21011a0) is not the object's thread (0x215b068).
Cannot move to target thread (0x7f0f50000a68)

See https://git.reviewboard.kde.org/r/108004/ for the respective changes.

Any idea?
Is anything wrong with the ported code?
Is the non-deprecated variant of start() not supported, buggy or just very 
noisy?

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20121229/843b9325/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list