Use the ternary operator meant for this purpose rather than two returns
authorLaszlo Papp <lpapp@kde.org>
Sun, 2 Feb 2014 09:44:52 +0000 (09:44 +0000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 7 Feb 2014 09:35:02 +0000 (10:35 +0100)
commit3660b4d0ca3dae1c69a3f4e817561844a37d334e
treefedd66646607bffa90c7e1df11cda6f1bee6b2eb
parente08cc29223aeab7da216963ae80d619f387109b9
Use the ternary operator meant for this purpose rather than two returns

Change-Id: Ie6b17d95b83ad751130305a6d44cdead3cd46da6
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
src/serialport/qserialport_win.cpp