Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 2 files). Show all
Unified · Split
| @@ -205,7 +205,6 @@ void WindowScriptingInterface::copyToClipboard(const QString& text) { · 204 unmodified lines | ||
| 205 | 205 | } |
| 206 | 206 | |
| 207 | 207 | void WindowScriptingInterface::takeSnapshot(bool notify, float aspectRatio) { |
| 208 | − // only evil-doers call takeSnapshot from a random thread | |
| 209 | 208 | qApp->postLambdaEvent([notify, aspectRatio] { |
| 210 | 209 | qApp->takeSnapshot(notify, aspectRatio); |
| 211 | 210 | }); |