[Interest] QEventLoop -- not sure I am correctly using this

Thiago Macieira thiago.macieira at intel.com
Mon Dec 2 23:01:43 CET 2013


On segunda-feira, 2 de dezembro de 2013 13:47:22, Jason Kretzer wrote:
> BackgroundTaskManager::BackgroundTaskManager(QObject *parent) :
>     QObject(parent)
> {

>     this->moveToThread(thread);

An object with a parent cannot be moved. However, looks like you're not using 
a parent:

>     qDebug() << "Starting Background Task Manager";
>     _instance = new BackgroundTaskManager();

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- 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://lists.qt-project.org/pipermail/interest/attachments/20131202/43d52f4d/attachment.sig>


More information about the Interest mailing list