From aa0a7994928940b24de2b5ee8b99325af4eaf5c8 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Wed, 12 Feb 2020 22:47:11 +0100 Subject: [PATCH] [welcomeq] QML warnings-- The config bits are all constant, so avoid NOTIFY warnings. --- src/modules/welcomeq/Config.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/welcomeq/Config.h b/src/modules/welcomeq/Config.h index 01c841068..50c3e387b 100644 --- a/src/modules/welcomeq/Config.h +++ b/src/modules/welcomeq/Config.h @@ -25,10 +25,10 @@ class Config : public QObject { Q_OBJECT - Q_PROPERTY( QUrl helpUrl READ helpUrl WRITE setHelpUrl FINAL ) - Q_PROPERTY( QUrl issuesUrl READ issuesUrl WRITE setIssuesUrl FINAL ) - Q_PROPERTY( QUrl notesUrl READ notesUrl WRITE setNotesUrl FINAL ) - Q_PROPERTY( QUrl donateUrl READ donateUrl WRITE setDonateUrl FINAL ) + Q_PROPERTY( QUrl helpUrl READ helpUrl CONSTANT FINAL ) + Q_PROPERTY( QUrl issuesUrl READ issuesUrl CONSTANT FINAL ) + Q_PROPERTY( QUrl notesUrl READ notesUrl CONSTANT FINAL ) + Q_PROPERTY( QUrl donateUrl READ donateUrl CONSTANT FINAL ) public: Config(); virtual ~Config();