History

remove jpg error popup behavior

Howard Stearns committed 10 years ago

Commit b949c831 parent 258c83f1 file · +2 −1Browse files

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

Unified · Split

interface/src/Application.cpp+2−1
@@ -214,7 +214,6 @@ Setting::Handle<int> maxOctreePacketsPerSecond("maxOctreePPS", DEFAULT_MAX_OCTRE · 213 unmodified lines
214214 static const QString MARKETPLACE_CDN_HOSTNAME = "mpassets.highfidelity.com";
215215
216216 const QHash<QString, Application::AcceptURLMethod> Application::_acceptedExtensions {
217− { SNAPSHOT_EXTENSION, &Application::acceptSnapshot },
218217 { SVO_EXTENSION, &Application::importSVOFromURL },
219218 { SVO_JSON_EXTENSION, &Application::importSVOFromURL },
220219 { AVA_JSON_EXTENSION, &Application::askToWearAvatarAttachmentUrl },
@@ -2857,6 +2856,8 @@ void Application::dragEnterEvent(QDragEnterEvent* event) { · 2636 unmodified lines
28572856 event->acceptProposedAction();
28582857 }
28592858
2859+// This is currently not used, but could be invoked if the user wants to go to the place embedded in an
2860+// Interface-taken snapshot. (It was developed for drag and drop, before we had asset-server loading or in-world browsers.)
28602861 bool Application::acceptSnapshot(const QString& urlString) {
28612862 QUrl url(urlString);
28622863 QString snapshotPath = url.toLocalFile();

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