History

code cleanup; simultaneous gif and still capture

Zach Fox committed 10 years ago

Commit f726ea51 parent 1158ae85 files · +58 −77Browse files

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

Unified · Split

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