[education/rkward/kf5] rkward/misc: Remove leftover debug code

Thomas Friedrichsmeier null at kde.org
Wed Apr 10 16:12:08 BST 2024


Git commit bb0b88db1ca7f38b3defa87b22869f29914f8036 by Thomas Friedrichsmeier.
Committed on 04/04/2024 at 09:26.
Pushed by tfry into branch 'kf5'.

Remove leftover debug code

M  +0    -1    rkward/misc/xmlhelper.cpp

https://invent.kde.org/education/rkward/-/commit/bb0b88db1ca7f38b3defa87b22869f29914f8036

diff --git a/rkward/misc/xmlhelper.cpp b/rkward/misc/xmlhelper.cpp
index 0a884dcf1..fed75abf3 100644
--- a/rkward/misc/xmlhelper.cpp
+++ b/rkward/misc/xmlhelper.cpp
@@ -255,7 +255,6 @@ QString XMLHelper::i18nStringAttribute (const QDomElement& element, const QStrin
 	}
 
 	QString attr = element.attribute (name);
-	if(attr.contains("Analysis")) displayError(&element, attr, DL_ERROR);
 	if (attr.isEmpty ()) return attr;	// Do not translate empty strings!
 
 	const QString context = element.attribute ("i18n_context", QString ());



More information about the rkward-tracker mailing list