Blackberry: Fix potential division by zero.
authorThomas McGuire <thomas.mcguire@kdab.com>
Thu, 23 Aug 2012 13:55:49 +0000 (15:55 +0200)
committerThomas McGuire <thomas.mcguire@kdab.com>
Thu, 23 Aug 2012 13:55:49 +0000 (15:55 +0200)
commitd960c4517c52375d04de73df1f289b3ab6294cd1
tree9debe7b11cae324d6a53aa9d2190a119677cef45
parent6c8bcd82448d4ec03124887c0d26cd098a515404
Blackberry: Fix potential division by zero.

Some users reported a division by zero problem when connecting to the
backend, I suspect this is the reason for it. The sensor service seems
to report either the min or the max delay as zero.
plugins/sensors/blackberry/bbsensorbackend.cpp