diff --git a/src/accountmodel.h b/src/accountmodel.h
index 93ef22d580e0aa0d153c1e81da0322e6c0688632..af7ee953f2de6cc84bf4008c9185b026ed3f1df8 100644
--- a/src/accountmodel.h
+++ b/src/accountmodel.h
@@ -68,7 +68,7 @@ public:
    Q_INVOKABLE Account* getById                     ( const QByteArray& id, bool ph = false) const;
    int                  size                        (                                      ) const;
    Account*             getAccountByModelIndex      ( const QModelIndex& item              ) const;
-   static QString       getSimilarAliasIndex        ( const QString& alias                 )      ;
+   Q_INVOKABLE static QString getSimilarAliasIndex  ( const QString& alias                 )      ;
    Account*             ip2ip                       (                                      ) const;
    QList<Account*>      getAccountsByProtocol       ( const Account::Protocol protocol     ) const;
    bool                 isPresenceEnabled           (                                      ) const;