mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 15:49:24 +02:00
Add UploadDialog error for NetworkError
This commit is contained in:
parent
a5ba86514c
commit
71456eee5e
1 changed files with 3 additions and 0 deletions
|
@ -134,6 +134,9 @@ void AssetUploadDialogFactory::handleUploadFinished(AssetUpload* upload, const Q
|
||||||
case AssetUpload::FileOpenError:
|
case AssetUpload::FileOpenError:
|
||||||
additionalError = "The file could not be opened. Please check your permissions and try again.";
|
additionalError = "The file could not be opened. Please check your permissions and try again.";
|
||||||
break;
|
break;
|
||||||
|
case AssetUpload::NetworkError:
|
||||||
|
additionalError = "The file could not be opened. Please check your network connectivity.";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
// not handled, do not show a message box
|
// not handled, do not show a message box
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue