mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 16:14:35 +02:00
remove class from function call
This commit is contained in:
parent
aea5f170f2
commit
1ae4a5c019
1 changed files with 2 additions and 2 deletions
|
@ -935,7 +935,7 @@ void OctreeServer::handleOctreeFileReplacement(QSharedPointer<ReceivedMessage> m
|
||||||
// so here we just store a special file at our persist path
|
// so here we just store a special file at our persist path
|
||||||
// and then force a stop of the server so that it can pick it up when it relaunches
|
// and then force a stop of the server so that it can pick it up when it relaunches
|
||||||
if (!_persistAbsoluteFilePath.isEmpty()) {
|
if (!_persistAbsoluteFilePath.isEmpty()) {
|
||||||
OctreeServer::replaceContentFromMessageData(message->getMessage());
|
replaceContentFromMessageData(message->getMessage());
|
||||||
} else {
|
} else {
|
||||||
qDebug() << "Cannot perform octree file replacement since current persist file path is not yet known";
|
qDebug() << "Cannot perform octree file replacement since current persist file path is not yet known";
|
||||||
}
|
}
|
||||||
|
@ -963,7 +963,7 @@ void OctreeServer::handleOctreeFileReplacementFromURL(QSharedPointer<ReceivedMes
|
||||||
QNetworkReply::NetworkError networkError = reply->error();
|
QNetworkReply::NetworkError networkError = reply->error();
|
||||||
if (networkError == QNetworkReply::NoError) {
|
if (networkError == QNetworkReply::NoError) {
|
||||||
QByteArray contents = reply->readAll();
|
QByteArray contents = reply->readAll();
|
||||||
OctreeServer::replaceContentFromMessageData(contents);
|
replaceContentFromMessageData(contents);
|
||||||
} else {
|
} else {
|
||||||
qDebug() << "Error downloading JSON from specified file";
|
qDebug() << "Error downloading JSON from specified file";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue