lrc: adapt to API changes

Tuleap: #44
Change-Id: I0b005b7019d204e049a280819aac5f29558cafea
diff --git a/src/AccRingVC.mm b/src/AccRingVC.mm
index 54e99dd..4de4378 100644
--- a/src/AccRingVC.mm
+++ b/src/AccRingVC.mm
@@ -73,7 +73,7 @@
     [userAgentTextField setTag:USERAGENT_TAG];
     [bootstrapField setTag:HOSTNAME_TAG];
 
-    QObject::connect(AccountModel::instance()->selectionModel(),
+    QObject::connect(AccountModel::instance().selectionModel(),
                      &QItemSelectionModel::currentChanged,
                      [=](const QModelIndex &current, const QModelIndex &previous) {
                          if(!current.isValid())
@@ -84,8 +84,8 @@
 
 - (Account*) currentAccount
 {
-    auto accIdx = AccountModel::instance()->selectionModel()->currentIndex();
-    return AccountModel::instance()->getAccountByModelIndex(accIdx);
+    auto accIdx = AccountModel::instance().selectionModel()->currentIndex();
+    return AccountModel::instance().getAccountByModelIndex(accIdx);
 }
 
 - (void)loadAccount