Skip to content

applets/calculator: remove clipboard dataengine and fix pasting

Christoph Wolk requested to merge cwo/kdeplasma-addons:calculator_paste into master

The calculator applet used the clipboard dataengine to inspect the clipboard before pasting so that only numbers could be pasted. This dataengine was removed a while ago, leaving only an error message when starting Plasma or when actually trying to paste.

Instead, use an invisible TextEdit and paste there. This gets rid of the warning and makes pasting work again.

Merge request reports

Loading