fix loglevel runtime error

This commit is contained in:
Jaquee 2017-01-09 13:45:00 +01:00
parent a8e90069d6
commit 8490c69692
No known key found for this signature in database
GPG key ID: 384E52B09F45DC39

View file

@ -107,7 +107,7 @@ public:
Q_INVOKABLE QString urlToLocalPath(const QUrl &url) const; Q_INVOKABLE QString urlToLocalPath(const QUrl &url) const;
Q_INVOKABLE QUrl localPathToUrl(const QString &path) const; Q_INVOKABLE QUrl localPathToUrl(const QString &path) const;
void setLogLevel(int logLevel); Q_INVOKABLE void setLogLevel(int logLevel);
Q_INVOKABLE quint64 add(quint64 x, quint64 y) const { return x + y; } Q_INVOKABLE quint64 add(quint64 x, quint64 y) const { return x + y; }
Q_INVOKABLE quint64 sub(quint64 x, quint64 y) const { return x - y; } Q_INVOKABLE quint64 sub(quint64 x, quint64 y) const { return x - y; }