History

Add further user feedback on Clara download progress

David Rowe committed 9 years ago

Commit 527757c1 parent be0ef821 file · +3 −1Browse files

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

Unified · Split

interface/src/Application.cpp+3−1
@@ -5636,6 +5636,8 @@ void Application::addAssetToWorld(QString filePath) { · 5635 unmodified lines
56365636 QString path = QUrl(filePath).toLocalFile();
56375637 QString mapping = path.right(path.length() - path.lastIndexOf("/"));
56385638
5639+ _addAssetToWorldMessageBox->setProperty("text", "Adding " + mapping.mid(1) + " to Asset Server");
5640+
56395641 addAssetToWorldWithNewMapping(path, mapping, 0);
56405642 }
56415643
@@ -5743,7 +5745,7 @@ void Application::addAssetToWorldAddEntity(QString mapping) { · 101 unmodified lines
57435745 qWarning(interfaceapp) << "Could not add asset to world: " + errorInfo;
57445746 addAssetToWorldError(errorInfo);
57455747 } else {
5746− QString successInfo = mapping + " added to world.";
5748+ QString successInfo = "Asset " + mapping.mid(1) + " added to world.";
57475749 qInfo() << "Downloading asset completed: " + successInfo;
57485750 _addAssetToWorldMessageBox->setProperty("text", successInfo);
57495751 _addAssetToWorldMessageBox->setProperty("buttons", QMessageBox::Ok);