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
199199 QApplication::clipboard()->setText(text);
200200 }
201201
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);
208204 }
209205
210206 void WindowScriptingInterface::shareSnapshot(const QString& path) {