main: Add GMainWindow hooks for Error display

This commit is contained in:
Zach Hilman
2019-03-11 19:45:22 -04:00
parent a04d36c5a4
commit 8f8049e846
4 changed files with 11 additions and 3 deletions

View File

@ -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};