History

Bugfixes and GIF uploads workinggit add -A!

Zach Fox committed 10 years ago

Commit 20a2d121 parent 2c0cfdf6 files · +57 −44Browse files

Showing the changes to interface/src/Application.cpp (1 of 6 files). Show all

Unified · Split

interface/src/Application.cpp+8−1
@@ -5440,7 +5440,14 @@ void Application::takeSnapshot(bool notify, bool includeAnimated, float aspectRa · 5439 unmodified lines
5440 // Get a screenshot and save it5440 // Get a screenshot and save it
5441 QString path = Snapshot::saveSnapshot(getActiveDisplayPlugin()->getScreenshot(aspectRatio));5441 QString path = Snapshot::saveSnapshot(getActiveDisplayPlugin()->getScreenshot(aspectRatio));
5442 5442
5443 SnapshotAnimated::saveSnapshotAnimated(includeAnimated, path, aspectRatio, qApp, DependencyManager::get<WindowScriptingInterface>());5443 // If we're not doing an animated snapshot as well...
5444 if (!includeAnimated) {
5445 // Tell the dependency manager that the capture of the still snapshot has taken place.
5446 emit DependencyManager::get<WindowScriptingInterface>()->snapshotTaken(path, "", notify);
5447 } else {
5448 // Get an animated GIF snapshot and save it
5449 SnapshotAnimated::saveSnapshotAnimated(path, aspectRatio, qApp, DependencyManager::get<WindowScriptingInterface>());
5450 }
5444 });5451 });
5445}5452}
5446void Application::shareSnapshot(const QString& path) {5453void Application::shareSnapshot(const QString& path) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t