summaryrefslogtreecommitdiff
path: root/Source/Core/Updater/Main.cpp
diff options
context:
space:
mode:
authorspycrab <spycrab@users.noreply.github.com>2018-11-08 11:54:56 +0100
committerspycrab <spycrab@users.noreply.github.com>2018-11-08 11:54:56 +0100
commit1595a9bdcdf6a4eefdf3d82b5aa2001d97c26f29 (patch)
tree68adba7fb97f9eddcd308ce68456eb2b0dd036f2 /Source/Core/Updater/Main.cpp
parent80259b019b476b4a932342ca7593799c9abdfefb (diff)
Updater: Show progress in taskbar
Diffstat (limited to 'Source/Core/Updater/Main.cpp')
-rw-r--r--Source/Core/Updater/Main.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/Source/Core/Updater/Main.cpp b/Source/Core/Updater/Main.cpp
index 0fe78505cf..10ae9aadd4 100644
--- a/Source/Core/Updater/Main.cpp
+++ b/Source/Core/Updater/Main.cpp
@@ -656,14 +656,9 @@ bool PerformUpdate(const TodoList& todo, const std::string& install_base_path,
void FatalError(const std::string& message)
{
- auto wide_message = UTF8ToUTF16(message);
-
- MessageBox(nullptr,
- (L"A fatal error occured and the updater cannot continue:\n " + wide_message).c_str(),
- L"Error", MB_ICONERROR);
-
fprintf(log_fp, "%s\n", message.c_str());
+ UI::Error(message);
UI::Stop();
}
} // namespace