refactor+fix: use QSharedPointer for shared_qobject_ptr
Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
@ -238,7 +238,7 @@ void MinecraftAccount::authFailed(QString reason)
|
||||
}
|
||||
|
||||
bool MinecraftAccount::isActive() const {
|
||||
return m_currentTask;
|
||||
return !m_currentTask.isNull();
|
||||
}
|
||||
|
||||
bool MinecraftAccount::shouldRefresh() const {
|
||||
|
Reference in New Issue
Block a user