On segunda-feira, 20 de janeiro de 2014 12:41:33, Bo Thorsen wrote:
> I have just created a suggestion in the bug tracker to make it illegal 
> to do moveToThread(this):
> 
> https://bugreports.qt-project.org/browse/QTBUG-36278
> 
> It can't be said often enough: Don't do this! But if it was illegal 
> behaviour, we wouldn't have to say it.

Because it's not illegal to do it. It's just a bad idea in most cases.

I'd rather not add a check for things you shouldn't do but that might still 
work nonetheless. That's wasted CPU cycles for people who did the right thing.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to