Merge pull request #11084 from jherico/fix_paths_warning

Fix log warnings from non-notifiable properties
This commit is contained in:
Brad Hefta-Gaub 2017-07-30 08:51:47 -07:00 committed by GitHub
commit c88e5d1053

View file

@ -25,8 +25,8 @@
class PathUtils : public QObject, public Dependency {
Q_OBJECT
SINGLETON_DEPENDENCY
Q_PROPERTY(QString resources READ resourcesPath)
Q_PROPERTY(QUrl defaultScripts READ defaultScriptsLocation)
Q_PROPERTY(QString resources READ resourcesPath CONSTANT)
Q_PROPERTY(QUrl defaultScripts READ defaultScriptsLocation CONSTANT)
public:
static const QString& resourcesPath();