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