refactor+fix: use QSharedPointer for shared_qobject_ptr
Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
6fd3672618
commit
362ecdb583
7 changed files with 37 additions and 80 deletions
|
@ -238,7 +238,7 @@ void MinecraftAccount::authFailed(QString reason)
|
|||
}
|
||||
|
||||
bool MinecraftAccount::isActive() const {
|
||||
return m_currentTask;
|
||||
return !m_currentTask.isNull();
|
||||
}
|
||||
|
||||
bool MinecraftAccount::shouldRefresh() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue