https://bugs.kde.org/show_bug.cgi?id=467418
Alexander Lohnau <alexander.loh...@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://invent.kde.org/plas | |ma/plasma-workspace/commit/ | |4cddacf865585995e8b9421becf | |2a92cd515b9b3 Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #5 from Alexander Lohnau <alexander.loh...@gmx.de> --- Git commit 4cddacf865585995e8b9421becf2a92cd515b9b3 by Alexander Lohnau. Committed on 28/04/2023 at 16:58. Pushed by alex into branch 'master'. runners/calculator: Do not require "=" prefix for known functions This utilized the qalculate API to get a function by its name. In case the function is not known, we get a nullptr and return false in our helper function. To avoid unintended results, the syntax of "functionname(<argument>)" is enforced using a regex. M +19 -0 runners/calculator/autotests/calculatorrunnertest.cpp M +14 -0 runners/calculator/calculatorrunner.cpp M +5 -0 runners/calculator/qalculate_engine.cpp M +3 -0 runners/calculator/qalculate_engine.h https://invent.kde.org/plasma/plasma-workspace/commit/4cddacf865585995e8b9421becf2a92cd515b9b3 -- You are receiving this mail because: You are watching all bug changes.