https://bugs.kde.org/show_bug.cgi?id=472469

Alexander Lohnau <alexander.loh...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/0dfb6cbfab067b77746ccc9a6
                   |                            |edf07434759646e
             Status|ASSIGNED                    |RESOLVED

--- Comment #3 from Alexander Lohnau <alexander.loh...@gmx.de> ---
Git commit 0dfb6cbfab067b77746ccc9a6edf07434759646e by Alexander Lohnau.
Committed on 21/07/2023 at 17:58.
Pushed by alex into branch 'master'.

runners/calculator: Do not call QObject that lives in another thread

Run is called in the main thread, meaning we should only access the
match and context. Meaning we should not get the text copied in the
engine, but rather read the match text and copy it directly to the
clipboard.

The only difference might a change in the delimiters, but now we copy
the text that the user sees. IMHO that is the best approach anyway.

M  +3    -1    runners/calculator/calculatorrunner.cpp
M  +0    -7    runners/calculator/qalculate_engine.cpp
M  +0    -2    runners/calculator/qalculate_engine.h

https://invent.kde.org/plasma/plasma-workspace/-/commit/0dfb6cbfab067b77746ccc9a6edf07434759646e

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to