From f3899736e862859d35fe3adfed9f2fac7d7bfeb1 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Wed, 14 Dec 2016 01:22:47 +1300 Subject: [PATCH] Auto-close Clara model download progress box when model added to world --- interface/src/Application.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index cecae70b06..5ae57affef 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -5780,12 +5780,8 @@ void Application::addAssetToWorldAddEntity(QString mapping) { _addAssetToWorldTimer.start(); } - // Inform user. - QString successInfo = "Asset " + mapping.mid(1) + " added to world."; - qInfo(interfaceapp) << "Downloading asset completed: " + successInfo; - _addAssetToWorldMessageBox->setProperty("text", successInfo); - _addAssetToWorldMessageBox->setProperty("buttons", QMessageBox::Ok); - _addAssetToWorldMessageBox->setProperty("defaultButton", QMessageBox::Ok); + // Close progress message box. + _addAssetToWorldMessageBox->deleteLater(); } }