Fix incorrect warning in QML AudioEngine.
authorYoann Lopes <yoann.lopes@theqtcompany.com>
Mon, 30 Mar 2015 14:49:52 +0000 (16:49 +0200)
committerYoann Lopes <yoann.lopes@theqtcompany.com>
Tue, 7 Apr 2015 11:59:30 +0000 (11:59 +0000)
commit9fccf8064dea35f324f822b30116828acc3855a9
treeb096cb50ce05b2c89201e54298c4e06f52503b57
parent7bb8b763732bebb9f73aaa2c3fc0a3e574009979
Fix incorrect warning in QML AudioEngine.

We need to do an early return when an AudioCategory is successfully
added to an AudioEngine, otherwise a warning is incorrectly shown.

Change-Id: If310c694a703242aff7f1c5ae04ad3e40c3f1acd
Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
src/imports/audioengine/qdeclarative_audioengine_p.cpp