mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:50:00 +02:00
use QObject::deleteLater() not explicit delete
This commit is contained in:
parent
e75bb3cd9c
commit
b9b2c30bba
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ void AccountManager::processReply() {
|
||||||
} else {
|
} else {
|
||||||
passErrorToCallback(requestReply);
|
passErrorToCallback(requestReply);
|
||||||
}
|
}
|
||||||
delete requestReply;
|
requestReply->deleteLater();
|
||||||
}
|
}
|
||||||
|
|
||||||
void AccountManager::passSuccessToCallback(QNetworkReply* requestReply) {
|
void AccountManager::passSuccessToCallback(QNetworkReply* requestReply) {
|
||||||
|
|
Loading…
Reference in a new issue