mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 05:20:00 +02:00
CR - Rename method
This commit is contained in:
parent
7b41efcf86
commit
eea89ba010
2 changed files with 3 additions and 3 deletions
|
@ -4091,7 +4091,7 @@ bool Application::askToUploadAsset(const QString& filename) {
|
|||
// connect to the finished signal so we know when the AssetUpload is done
|
||||
if (messageBox.checkBox() && (messageBox.checkBox()->checkState() == Qt::Checked)) {
|
||||
// Custom behavior for models
|
||||
QObject::connect(upload, &AssetUpload::finished, this, &Application::assetUploadFinished);
|
||||
QObject::connect(upload, &AssetUpload::finished, this, &Application::modelUploadFinished);
|
||||
} else {
|
||||
QObject::connect(upload, &AssetUpload::finished,
|
||||
&AssetUploadDialogFactory::getInstance(),
|
||||
|
@ -4108,7 +4108,7 @@ bool Application::askToUploadAsset(const QString& filename) {
|
|||
return false;
|
||||
}
|
||||
|
||||
void Application::assetUploadFinished(AssetUpload* upload, const QString& hash) {
|
||||
void Application::modelUploadFinished(AssetUpload* upload, const QString& hash) {
|
||||
auto filename = QFileInfo(upload->getFilename()).fileName();
|
||||
|
||||
if ((upload->getError() == AssetUpload::NoError) &&
|
||||
|
|
|
@ -329,7 +329,7 @@ private slots:
|
|||
bool askToSetAvatarUrl(const QString& url);
|
||||
bool askToLoadScript(const QString& scriptFilenameOrURL);
|
||||
bool askToUploadAsset(const QString& asset);
|
||||
void assetUploadFinished(AssetUpload* upload, const QString& hash);
|
||||
void modelUploadFinished(AssetUpload* upload, const QString& hash);
|
||||
|
||||
void setSessionUUID(const QUuid& sessionUUID);
|
||||
void domainChanged(const QString& domainHostname);
|
||||
|
|
Loading…
Reference in a new issue