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