diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-06-17 16:34:32 +0200 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-06-17 16:34:32 +0200 |
commit | 9ec260619b48447e398445aecd6651d319b8217e (patch) | |
tree | f3e8dd12c37b61b0215e3e667a33d86e46f2e268 /launcher/minecraft/auth/AccountTask.cpp | |
parent | 03e454b71d83aebbb534c5734ccd9093842da28c (diff) | |
download | PrismLauncher-9ec260619b48447e398445aecd6651d319b8217e.tar.gz PrismLauncher-9ec260619b48447e398445aecd6651d319b8217e.tar.bz2 PrismLauncher-9ec260619b48447e398445aecd6651d319b8217e.zip |
fix: fix warnings reported by LGTM.com
Diffstat (limited to 'launcher/minecraft/auth/AccountTask.cpp')
-rw-r--r-- | launcher/minecraft/auth/AccountTask.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/minecraft/auth/AccountTask.cpp b/launcher/minecraft/auth/AccountTask.cpp index 49b6e46f..4118c3c5 100644 --- a/launcher/minecraft/auth/AccountTask.cpp +++ b/launcher/minecraft/auth/AccountTask.cpp @@ -79,6 +79,8 @@ QString AccountTask::getStateMessage() const bool AccountTask::changeState(AccountTaskState newState, QString reason) { m_taskState = newState; + // FIXME: virtual method invoked in constructor. + // We want that behavior, but maybe make it less weird? setStatus(getStateMessage()); switch(newState) { case AccountTaskState::STATE_CREATED: { |