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
5636 QString path = QUrl(filePath).toLocalFile();5636 QString path = QUrl(filePath).toLocalFile();
5637 QString mapping = path.right(path.length() - path.lastIndexOf("/"));5637 QString mapping = path.right(path.length() - path.lastIndexOf("/"));
5638 5638
5639 _addAssetToWorldMessageBox->setProperty("text", "Adding " + mapping.mid(1) + " to Asset Server");
5640
5639 addAssetToWorldWithNewMapping(path, mapping, 0);5641 addAssetToWorldWithNewMapping(path, mapping, 0);
5640}5642}
5641 5643
@@ -5743,7 +5745,7 @@ void Application::addAssetToWorldAddEntity(QString mapping) { · 101 unmodified lines
5743 qWarning(interfaceapp) << "Could not add asset to world: " + errorInfo;5745 qWarning(interfaceapp) << "Could not add asset to world: " + errorInfo;
5744 addAssetToWorldError(errorInfo);5746 addAssetToWorldError(errorInfo);
5745 } else {5747 } else {
5746 QString successInfo = mapping + " added to world.";5748 QString successInfo = "Asset " + mapping.mid(1) + " added to world.";
5747 qInfo() << "Downloading asset completed: " + successInfo;5749 qInfo() << "Downloading asset completed: " + successInfo;
5748 _addAssetToWorldMessageBox->setProperty("text", successInfo);5750 _addAssetToWorldMessageBox->setProperty("text", successInfo);
5749 _addAssetToWorldMessageBox->setProperty("buttons", QMessageBox::Ok);5751 _addAssetToWorldMessageBox->setProperty("buttons", QMessageBox::Ok);