From 25929cf798a0d369c98a5aadc39f056baf10a574 Mon Sep 17 00:00:00 2001
From: Emmanuel Lepage Vallee <elv1313@gmail.com>
Date: Wed, 3 May 2017 01:29:27 -0400
Subject: [PATCH] useractions: Fix indentation

Was found while reading the code

Change-Id: I4191ffa3c376156a9fbd686b4fad82fe8ead8f19
Reviewed-by: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
---
 src/private/useractions.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/private/useractions.h b/src/private/useractions.h
index 6b8754bc..338f0af8 100644
--- a/src/private/useractions.h
+++ b/src/private/useractions.h
@@ -405,11 +405,11 @@ bool addPerson(ContactMethod* cm, CollectionInterface* col)
       const QVector<CollectionInterface*> cols = PersonModel::instance()
          .collections(CollectionInterface::SupportedFeatures::ADD);
 
-         if (cols.isEmpty())
-            return false;
+      if (cols.isEmpty())
+         return false;
 
-         //TODO support collection selection
-         col = cols.first();
+      //TODO support collection selection
+      col = cols.first();
    }
 
    Person* p = new Person();
-- 
GitLab