winrtrunner: simplify error handling
authorJoerg Bornemann <joerg.bornemann@digia.com>
Thu, 20 Mar 2014 10:59:39 +0000 (11:59 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 20 Mar 2014 16:44:49 +0000 (17:44 +0100)
commit7c931162715cfb1ab27d20ff46564cbcf9b7ff98
tree04cc30156b8c4ae0a32b9f63fab827034b0415cd
parent8361091dc703eaa45095be7f941c00e924d44e8d
winrtrunner: simplify error handling

Introducing the macros CHECK_RESULT and CHECK_RESULT_FATAL
to condense the error checking code blocks into one line each.

Change-Id: I485d21534c44f75d23e465ae6a6f048b6f255c52
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
src/winrtrunner/appxengine.cpp