Commit 69386e72 authored by Andrea Scarpino's avatar Andrea Scarpino

Counter is unsigned

parent 5576a427
...@@ -59,7 +59,7 @@ void MPWManager::setUserData(const QString &name, const QString &password) ...@@ -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; MPSiteType t = 0;
switch (type) { switch (type) {
......
...@@ -41,7 +41,7 @@ public: ...@@ -41,7 +41,7 @@ public:
Q_INVOKABLE QString getName() const; Q_INVOKABLE QString getName() const;
Q_INVOKABLE void setUserData(const QString &name, const QString &password); 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: private:
QByteArray m_key; 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