refactor+fix: use QSharedPointer for shared_qobject_ptr

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow 2022-08-04 13:58:30 -03:00
parent 6fd3672618
commit 362ecdb583
No known key found for this signature in database
GPG key ID: 8D0F221F0A59F469
7 changed files with 37 additions and 80 deletions

View file

@ -238,7 +238,7 @@ void MinecraftAccount::authFailed(QString reason)
}
bool MinecraftAccount::isActive() const {
return m_currentTask;
return !m_currentTask.isNull();
}
bool MinecraftAccount::shouldRefresh() const {