make userscript properties constant

This commit is contained in:
Malte Jürgens 2023-02-15 00:33:52 +01:00
parent 5df24629e6
commit fc0dbb5b34
No known key found for this signature in database
GPG Key ID: D29FBD5F93C0CFC3
1 changed files with 3 additions and 3 deletions

View File

@ -24,9 +24,9 @@ class UserScript : public QObject {
public: public:
UserScript(); UserScript();
bool isVirtmicRunning(); bool isVirtmicRunning();
Q_PROPERTY(QString version READ version); Q_PROPERTY(QString version READ version CONSTANT);
Q_PROPERTY(bool kxmlgui MEMBER m_kxmlgui); Q_PROPERTY(bool kxmlgui MEMBER m_kxmlgui CONSTANT);
Q_PROPERTY(bool kglobalaccel MEMBER m_kglobalaccel); Q_PROPERTY(bool kglobalaccel MEMBER m_kglobalaccel CONSTANT);
private: private:
QProcess m_virtmicProcess; QProcess m_virtmicProcess;