[education/rkward] rkward: Apply formatting

Thomas Friedrichsmeier null at kde.org
Wed May 7 14:21:37 BST 2025


Git commit 47da534ec6a4c71b8fe070a74a432508959c90f6 by Thomas Friedrichsmeier.
Committed on 07/05/2025 at 13:21.
Pushed by tfry into branch 'master'.

Apply formatting

M  +1    -1    rkward/plugins/00saveload/setworkdir.js
M  +1    -1    rkward/scriptbackends/rkcomponentscripting.cpp
M  +1    -0    rkward/scriptbackends/rkcomponentscripting.h

https://invent.kde.org/education/rkward/-/commit/47da534ec6a4c71b8fe070a74a432508959c90f6

diff --git a/rkward/plugins/00saveload/setworkdir.js b/rkward/plugins/00saveload/setworkdir.js
index 24de0877d..4b3ca6618 100644
--- a/rkward/plugins/00saveload/setworkdir.js
+++ b/rkward/plugins/00saveload/setworkdir.js
@@ -4,5 +4,5 @@ SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
 SPDX-License-Identifier: GPL-2.0-or-later
 */
 function calculate() {
-	echo(`setwd("${ getValue("dir") }")\n`);
+	echo(`setwd("${getValue("dir")}")\n`);
 }
diff --git a/rkward/scriptbackends/rkcomponentscripting.cpp b/rkward/scriptbackends/rkcomponentscripting.cpp
index e3b8a9fd2..a65642d4a 100644
--- a/rkward/scriptbackends/rkcomponentscripting.cpp
+++ b/rkward/scriptbackends/rkcomponentscripting.cpp
@@ -8,8 +8,8 @@ SPDX-License-Identifier: GPL-2.0-or-later
 #include "rkcomponentscripting.h"
 
 #include <KLocalizedString>
-#include <QDir>
 #include <KMessageBox>
+#include <QDir>
 
 #include "../core/robjectlist.h"
 #include "../misc/rkcommonfunctions.h"
diff --git a/rkward/scriptbackends/rkcomponentscripting.h b/rkward/scriptbackends/rkcomponentscripting.h
index e741befa5..ba38739db 100644
--- a/rkward/scriptbackends/rkcomponentscripting.h
+++ b/rkward/scriptbackends/rkcomponentscripting.h
@@ -32,6 +32,7 @@ class RKComponentScriptingProxy : public QObject {
 	~RKComponentScriptingProxy();
 
 	void initialize(const QString &file, const QString &command);
+
   public:
 	// these are meant to be called from the script
 	Q_INVOKABLE void include(const QString &filename);


More information about the rkward-tracker mailing list