[welcomeq] Coding style

- a R/W property isn't CONSTANT
 - apply calamaresstyle
This commit is contained in:
Adriaan de Groot 2020-02-12 14:19:33 +01:00
parent ffeed05a5d
commit adb312bdd2
2 changed files with 4 additions and 6 deletions

View File

@ -23,6 +23,4 @@ Config::Config()
{ {
} }
Config::~Config() Config::~Config() {}
{
}

View File

@ -16,8 +16,8 @@
* along with Calamares. If not, see <http://www.gnu.org/licenses/>. * along with Calamares. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef WELCOME_CONFIG_H #ifndef WELCOMEQ_CONFIG_H
#define WELCOME_CONFIG_H #define WELCOMEQ_CONFIG_H
#include <QObject> #include <QObject>
#include <QUrl> #include <QUrl>
@ -25,7 +25,7 @@
class Config : public QObject class Config : public QObject
{ {
Q_OBJECT Q_OBJECT
Q_PROPERTY( QUrl helpUrl READ helpUrl WRITE setHelpUrl CONSTANT ) Q_PROPERTY( QUrl helpUrl READ helpUrl WRITE setHelpUrl )
public: public:
Config(); Config();
virtual ~Config(); virtual ~Config();