Commit 41c9b7b5 authored by Andrea Scarpino's avatar Andrea Scarpino

Counter is unsigned

parent 4e708d7c
......@@ -59,7 +59,7 @@ void MPWManager::setUserData(const QString &name, const QString &password)
}
}
QString MPWManager::getPassword(const QString &site, PasswordType type, const int counter) const
QString MPWManager::getPassword(const QString &site, PasswordType type, const uint counter) const
{
MPSiteType t = 0;
switch (type) {
......
......@@ -41,7 +41,7 @@ public:
Q_INVOKABLE QString getName() const;
Q_INVOKABLE void setUserData(const QString &name, const QString &password);
Q_INVOKABLE QString getPassword(const QString &site, PasswordType type, const int counter) const;
Q_INVOKABLE QString getPassword(const QString &site, PasswordType type, const uint counter) const;
private:
QByteArray m_key;
......
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