log_cabin to KDE & Plasma usersEnglish · 1 year agoHow to add more currency conversion to this menu?imagemessage-square4fedilinkarrow-up18arrow-down10
arrow-up18arrow-down1imageHow to add more currency conversion to this menu?log_cabin to KDE & Plasma usersEnglish · 1 year agomessage-square4fedilink
minus-squareMartinR@feddit.delinkfedilinkEnglisharrow-up1·1 year agoYou can specify your target (e.g. 11 USD in INR should work), however I don’t know how to change the defaults or if KRunner is “smart” enough to automatically include INR in those conversions.
minus-squareMartinR@feddit.delinkfedilinkEnglisharrow-up1·1 year agoI’ve had a quick look at the code, there doesn’t seem to be a way to change the “default” currencies, they are hardcoded. See https://invent.kde.org/frameworks/kunitconversion/-/blob/master/src/currency.cpp and search for “addCommonUnit” and “addDefaultUnit”.
You can specify your target (e.g.
11 USD in INR
should work), however I don’t know how to change the defaults or if KRunner is “smart” enough to automatically include INR in those conversions.I’ve had a quick look at the code, there doesn’t seem to be a way to change the “default” currencies, they are hardcoded. See https://invent.kde.org/frameworks/kunitconversion/-/blob/master/src/currency.cpp and search for “addCommonUnit” and “addDefaultUnit”.