History

First cut of a snapshot uploader

Will need to test end-to-end shortly, etc...

David Kelly committed 10 years ago

Commit c8f3a891 parent e0973f37 files · +126 −2Browse files

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

Unified · Split

interface/src/Application.cpp+5−0
@@ -5082,6 +5082,11 @@ void Application::takeSnapshot(bool notify) { · 5081 unmodified lines
50825082 emit DependencyManager::get<WindowScriptingInterface>()->snapshotTaken(path, notify);
50835083 }
50845084
5085+void Application::shareSnapshot(const QString& path) {
5086+ // not much to do here, everything is done in snapshot code...
5087+ Snapshot::uploadSnapshot(path);
5088+}
5089+
50855090 float Application::getRenderResolutionScale() const {
50865091 if (Menu::getInstance()->isOptionChecked(MenuOption::RenderResolutionOne)) {
50875092 return 1.0f;