diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-03-11 19:45:22 -0400 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-04-17 11:35:24 -0400 |
commit | 8f8049e846f38d548e975243bc42ce1b09a71ae3 (patch) | |
tree | 76f18dd10a51460024e440d4ea51eb7de4e92791 /src/yuzu/main.cpp | |
parent | a04d36c5a407ba3d182cbc8ee9695bc39f46ca4f (diff) |
main: Add GMainWindow hooks for Error display
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r-- | src/yuzu/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index c73e78a232..e33e3aaaf5 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -1589,6 +1589,11 @@ void GMainWindow::OnLoadComplete() { loading_screen->OnLoadComplete(); } +void GMainWindow::ErrorDisplayDisplayError(QString body) { + QMessageBox::critical(this, tr("Error Display"), body); + emit ErrorDisplayFinished(); +} + void GMainWindow::OnMenuReportCompatibility() { if (!Settings::values.yuzu_token.empty() && !Settings::values.yuzu_username.empty()) { CompatDB compatdb{this}; |