Add TouchID support on macOS
This commit is contained in:
committed by
Jonathan White
parent
5aeb30e845
commit
d9fcdd2920
@@ -28,6 +28,13 @@ PasswordKey::PasswordKey(const QString& password)
|
||||
setPassword(password);
|
||||
}
|
||||
|
||||
PasswordKey PasswordKey::fromRawKey(const QByteArray& rawKey)
|
||||
{
|
||||
PasswordKey result;
|
||||
result.m_key = rawKey;
|
||||
return result;
|
||||
}
|
||||
|
||||
QByteArray PasswordKey::rawKey() const
|
||||
{
|
||||
return m_key;
|
||||
|
||||
@@ -31,6 +31,7 @@ public:
|
||||
void setPassword(const QString& password);
|
||||
PasswordKey* clone() const;
|
||||
|
||||
static PasswordKey fromRawKey(const QByteArray& rawKey);
|
||||
private:
|
||||
QByteArray m_key;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user