mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-15 18:08:26 +02:00
Merge pull request #8591 from howard-stearns/remove-jpg-error-popup-behavior
remove jpg error popup behavior
This commit is contained in:
commit
7eba6cdbed
1 changed files with 2 additions and 1 deletions
|
@ -214,7 +214,6 @@ Setting::Handle<int> maxOctreePacketsPerSecond("maxOctreePPS", DEFAULT_MAX_OCTRE
|
|||
static const QString MARKETPLACE_CDN_HOSTNAME = "mpassets.highfidelity.com";
|
||||
|
||||
const QHash<QString, Application::AcceptURLMethod> Application::_acceptedExtensions {
|
||||
{ SNAPSHOT_EXTENSION, &Application::acceptSnapshot },
|
||||
{ SVO_EXTENSION, &Application::importSVOFromURL },
|
||||
{ SVO_JSON_EXTENSION, &Application::importSVOFromURL },
|
||||
{ AVA_JSON_EXTENSION, &Application::askToWearAvatarAttachmentUrl },
|
||||
|
@ -2857,6 +2856,8 @@ void Application::dragEnterEvent(QDragEnterEvent* event) {
|
|||
event->acceptProposedAction();
|
||||
}
|
||||
|
||||
// This is currently not used, but could be invoked if the user wants to go to the place embedded in an
|
||||
// Interface-taken snapshot. (It was developed for drag and drop, before we had asset-server loading or in-world browsers.)
|
||||
bool Application::acceptSnapshot(const QString& urlString) {
|
||||
QUrl url(urlString);
|
||||
QString snapshotPath = url.toLocalFile();
|
||||
|
|
Loading…
Reference in a new issue