diff options
author | Weblate <noreply@weblate.org> | 2018-03-10 15:09:31 +0000 |
---|---|---|
committer | Weblate <noreply@weblate.org> | 2018-03-10 15:09:31 +0000 |
commit | e823783499a7b2f8c3cbfb24ae428b39311bee5e (patch) | |
tree | 74138f1e34b8f090f62bd5412f38b8e185209302 /src-qt5/src-cpp/plugins-base.h | |
parent | Translated using Weblate (Italian) (diff) | |
parent | Add the beginnings of the new window frame (widgets-based) (diff) | |
download | lumina-e823783499a7b2f8c3cbfb24ae428b39311bee5e.tar.gz lumina-e823783499a7b2f8c3cbfb24ae428b39311bee5e.tar.bz2 lumina-e823783499a7b2f8c3cbfb24ae428b39311bee5e.zip |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src-qt5/src-cpp/plugins-base.h')
-rw-r--r-- | src-qt5/src-cpp/plugins-base.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src-qt5/src-cpp/plugins-base.h b/src-qt5/src-cpp/plugins-base.h index 26b0eacc..eb54e40d 100644 --- a/src-qt5/src-cpp/plugins-base.h +++ b/src-qt5/src-cpp/plugins-base.h @@ -35,12 +35,12 @@ public: virtual void loadFile(QString path); bool isLoaded() { return !data.isEmpty(); }; - bool containsDefault(QString obj) { return data.value(obj).toObject().contains("default"); } + bool containsDefault(QString obj) { return data.value(obj).toObject().contains("default"); } /** * Check if the plugin is valid as long as the JSON is not empty, * it contains at least a "name", "qml", and "description" object, - * and the "name" and "description" objects contain a "default" key. + * and the "name" and "description" objects contain a "default" key. **/ virtual bool isValid() = 0; @@ -48,7 +48,7 @@ public: virtual QUrl scriptURL(); QJsonObject data; //Hazardous to manually modify - QString relDir; + QString relDir; }; class PluginSystem{ |