[education/rkward] rkward/rbackend: Fix conversion mixup

Thomas Friedrichsmeier null at kde.org
Thu Apr 18 17:40:15 BST 2024


Git commit 78e59e049f4a3861b43cd9078a48e2618608d952 by Thomas Friedrichsmeier.
Committed on 18/04/2024 at 16:38.
Pushed by tfry into branch 'master'.

Fix conversion mixup

M  +1    -1    rkward/rbackend/rkrsupport.h

https://invent.kde.org/education/rkward/-/commit/78e59e049f4a3861b43cd9078a48e2618608d952

diff --git a/rkward/rbackend/rkrsupport.h b/rkward/rbackend/rkrsupport.h
index ae1fe3ee1..0d312fba4 100644
--- a/rkward/rbackend/rkrsupport.h
+++ b/rkward/rbackend/rkrsupport.h
@@ -64,7 +64,7 @@ public:
 		return QString::fromUtf8(doConv(from_native, buf));
 	}
 	static QByteArray toNative(const QString& buf) {
-		return doConv(from_native, buf.toUtf8());
+		return doConv(to_native, buf.toUtf8());
 	}
 	static void reinit();
 private:



More information about the rkward-tracker mailing list