From 9fe1845f0e2d75dc8a6d3d49fac6780b394b0067 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Mon, 8 Jan 2018 14:19:58 -0500 Subject: Another large update to Lumina 2: Starting to hook up the new QML window frame with the C++ backend. --- src-qt5/src-cpp/plugins-base.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src-qt5/src-cpp/plugins-base.h') 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{ -- cgit