diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-07-09 01:10:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-09 01:10:59 +0200 |
commit | e6fe701727268a5c2284fec2867c0a9bfe10b1aa (patch) | |
tree | ce1097293bb6b5393fa1172a73cb2f13354c5234 /launcher/minecraft | |
parent | 35a698ef725bf250a5348bea8c47ff3470be7515 (diff) | |
parent | 9ec260619b48447e398445aecd6651d319b8217e (diff) | |
download | PrismLauncher-e6fe701727268a5c2284fec2867c0a9bfe10b1aa.tar.gz PrismLauncher-e6fe701727268a5c2284fec2867c0a9bfe10b1aa.tar.bz2 PrismLauncher-e6fe701727268a5c2284fec2867c0a9bfe10b1aa.zip |
Merge pull request #808 from Scrumplex/fix-lgtm-warnings
Diffstat (limited to 'launcher/minecraft')
-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: { |