mirror of
https://github.com/QuasarApp/QuasarAppLib.git
synced 2025-04-27 10:14:38 +00:00
fix ios build
This commit is contained in:
parent
53c73c2913
commit
78ceff0f09
@ -1,4 +1,6 @@
|
||||
#include "qasecretservice.h"
|
||||
|
||||
#ifdef Q_OS_LINUX
|
||||
#include <QProcess>
|
||||
|
||||
QByteArray QuasarAppUtils::QASecretService::getByAlias(const QString &alias) {
|
||||
@ -38,3 +40,4 @@ QByteArray QuasarAppUtils::QASecretService::getByHash(const QByteArray &hash)
|
||||
// drop \n
|
||||
return result.left(result.size() - 1);
|
||||
}
|
||||
#endif
|
||||
|
@ -24,9 +24,11 @@ class QASecretService
|
||||
public:
|
||||
QASecretService();
|
||||
|
||||
#ifdef Q_OS_LINUX
|
||||
|
||||
static QByteArray getByAlias(const QString& alias);
|
||||
static QByteArray getByHash(const QByteArray& hash);
|
||||
|
||||
#endif
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user