diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2019-06-23 19:47:18 +0200 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2019-06-23 19:47:18 +0200 |
| commit | dacba85a0805b0c1b41cab87dfaa1f91e827d463 (patch) | |
| tree | fb917d804b1178e9dd75b5e6a113cba5385ab486 /Source/Core/UpdaterCommon/UpdaterCommon.cpp | |
| parent | 5262f390266ab658181ee4d40dd6ed040980c91b (diff) | |
UpdaterCommon: Hide Updater before Dolphin quits
Diffstat (limited to 'Source/Core/UpdaterCommon/UpdaterCommon.cpp')
| -rw-r--r-- | Source/Core/UpdaterCommon/UpdaterCommon.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/UpdaterCommon/UpdaterCommon.cpp b/Source/Core/UpdaterCommon/UpdaterCommon.cpp index be005351f5..01c5149501 100644 --- a/Source/Core/UpdaterCommon/UpdaterCommon.cpp +++ b/Source/Core/UpdaterCommon/UpdaterCommon.cpp @@ -496,6 +496,7 @@ void FatalError(const std::string& message) { fprintf(log_fp, "%s\n", message.c_str()); + UI::SetVisible(true); UI::Error(message); UI::Stop(); } @@ -683,6 +684,7 @@ bool RunUpdater(std::vector<std::string> args) } UI::Init(); + UI::SetVisible(false); Options opts = std::move(*maybe_opts); @@ -707,8 +709,6 @@ bool RunUpdater(std::vector<std::string> args) if (opts.parent_pid) { - UI::SetDescription("Waiting for Dolphin to quit..."); - fprintf(log_fp, "Waiting for parent PID %d to complete...\n", *opts.parent_pid); auto pid = opts.parent_pid.value(); |
