Whitespace cleanup, extra braces, and null checks

Thanks to Lubomir for the review.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2018-08-10 21:43:50 -07:00
parent fd498a90db
commit 9f94aaf450
3 changed files with 16 additions and 3 deletions

View file

@ -244,7 +244,7 @@ bool subsurface_user_is_root()
void checkPendingIntents()
{
QAndroidJniObject activity = QtAndroid::androidActivity();
if(activity.isValid()) {
if (activity.isValid()) {
activity.callMethod<void>("checkPendingIntents");
qDebug() << "checkPendingIntents ";
return;