From 4c40e3bdf4dc90213cb151a06eeb47ae1e3b2989 Mon Sep 17 00:00:00 2001 From: Elisa Lupin-Jimenez Date: Fri, 25 Aug 2017 11:21:07 -0700 Subject: [PATCH] fixed weird info box display of filenames --- interface/src/Application.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 9ad3b5f715..d13b7880fa 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -6457,7 +6457,7 @@ void Application::addAssetToWorldFromURL(QString url) { } if (url.contains("vr.google.com/downloads")) { filename = url.section('/', -1); - filename.remove(".zip?noDownload=false"); + filename.remove(".zip"); } if (!DependencyManager::get()->getThisNodeCanWriteAssets()) { @@ -6487,7 +6487,7 @@ void Application::addAssetToWorldFromURLRequestFinished() { } if (url.contains("vr.google.com/downloads")) { filename = url.section('/', -1); - filename.remove(".zip?noDownload=false"); + filename.remove(".zip"); isBlocks = true; }