Commit c31b670d authored by Karel Slaný's avatar Karel Slaný

Removed globAccountsModelPtr from setwrapper.cpp.

parent d88c86ec
......@@ -284,6 +284,7 @@ public:
*
* @param[in] pinVal Pin value.
*/
static
void decryptAllPwds(const QString &pinVal);
/*!
......
......@@ -27,7 +27,7 @@
#include "src/crypto/pin.h"
#include "src/crypto/wrapped.h"
#include "src/dialogues/dialogues.h"
#include "src/models/accountmodel.h" /* globAccountsModelPtr */
#include "src/models/accountmodel.h"
#include "src/io/filesystem.h"
#include "src/setwrapper.h"
#include "src/settings.h"
......@@ -203,7 +203,7 @@ void GlobalSettingsQmlWrapper::verifyPin(const QString &pinValue)
qDebug() << "Remembering entered PIN value.";
/* Decrypt all keys in account model. */
globAccountsModelPtr->decryptAllPwds(globSet._pinVal);
AccountListModel::decryptAllPwds(globSet._pinVal);
}
emit sendPinReply(verResult);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment