Tidy UI text

This commit is contained in:
David Rowe 2016-11-08 13:23:44 +13:00 committed by Seth Alves
parent 6329b670c9
commit 43ebdf97cb

View file

@ -5475,7 +5475,7 @@ void Application::addAssetToWorldInitiate() {
if (!_addAssetToWorldMessageBox) {
_addAssetToWorldMessageBox = DependencyManager::get<OffscreenUi>()->createMessageBox(OffscreenUi::ICON_INFORMATION,
"Downloading Asset", "Preparing asset for download", QMessageBox::Cancel, QMessageBox::NoButton);
"Downloading Asset", "Preparing asset for download.", QMessageBox::Cancel, QMessageBox::NoButton);
}
connect(_addAssetToWorldMessageBox, SIGNAL(destroyed()), this, SLOT(onAssetToWorldMessageBoxClosed()));
@ -5499,7 +5499,7 @@ void Application::addAssetToWorld(QString filePath) {
return;
}
_addAssetToWorldMessageBox->setProperty("text", "Downloading asset file");
_addAssetToWorldMessageBox->setProperty("text", "Downloading asset file.");
if (!DependencyManager::get<NodeList>()->getThisNodeCanWriteAssets()) {
QString errorInfo = "Do not have permissions to write to asset server.";
@ -5618,9 +5618,9 @@ void Application::addAssetToWorldAddEntity(QString mapping) {
qCDebug(interfaceapp) << "Error downloading asset: " + errorInfo;
addAssetToWorldError(errorInfo);
} else {
QString successInfo = "Downloaded asset " + mapping + " added to world";
QString successInfo = "Downloaded asset " + mapping + " added to world.";
qCDebug(interfaceapp) << "Downloading asset completed: " + successInfo;
_addAssetToWorldMessageBox->setProperty("text", "Downloading asset completed");
_addAssetToWorldMessageBox->setProperty("text", successInfo);
_addAssetToWorldMessageBox->setProperty("buttons", QMessageBox::Ok);
_addAssetToWorldMessageBox->setProperty("defaultButton", QMessageBox::Ok);
}