Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 6 files). Show all
Unified · Split
| @@ -199,8 +199,12 @@ void WindowScriptingInterface::copyToClipboard(const QString& text) { · 198 unmodified lines | |||
| 199 | QApplication::clipboard()->setText(text); | 199 | QApplication::clipboard()->setText(text); |
| 200 | } | 200 | } |
| 201 | 201 | ||
| 202 | void WindowScriptingInterface::takeSnapshot(bool notify, float aspectRatio) { | 202 | void WindowScriptingInterface::takeSnapshotStill(bool notify, float aspectRatio) { |
| 203 | qApp->takeSnapshot(notify, aspectRatio); | 203 | qApp->takeSnapshot(notify, "still", aspectRatio); |
| 204 | } | ||
| 205 | |||
| 206 | void WindowScriptingInterface::takeSnapshotAnimated(bool notify, float aspectRatio) { | ||
| 207 | qApp->takeSnapshot(notify, "animated", aspectRatio); | ||
| 204 | } | 208 | } |
| 205 | 209 | ||
| 206 | void WindowScriptingInterface::shareSnapshot(const QString& path) { | 210 | void WindowScriptingInterface::shareSnapshot(const QString& path) { |