History

pr review comments

howard-stearns committed 10 years ago

Commit 80afc6a1 parent ed3b04f2 files · +38 −38Browse files

Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 2 files). Show all

Unified · Split

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