diff --git a/src/citra_qt/debugger/ipc/recorder.cpp b/src/citra_qt/debugger/ipc/recorder.cpp index ef634d750..4226e74fe 100644 --- a/src/citra_qt/debugger/ipc/recorder.cpp +++ b/src/citra_qt/debugger/ipc/recorder.cpp @@ -2,6 +2,7 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. +#include #include #include #include @@ -90,7 +91,7 @@ void IPCRecorderWidget::OnEntryUpdated(IPCDebugger::RequestRecord record) { auto* item = ui->main->invisibleRootItem()->child(row_id); for (int column = 0; column < item->columnCount(); ++column) { - item->setBackgroundColor(column, QColor::fromRgb(255, 0, 0)); + item->setBackground(column, QBrush(QColor::fromRgb(255, 0, 0))); } } diff --git a/src/citra_qt/updater/updater.cpp b/src/citra_qt/updater/updater.cpp index 8701eee7b..cafffd2b0 100644 --- a/src/citra_qt/updater/updater.cpp +++ b/src/citra_qt/updater/updater.cpp @@ -133,7 +133,7 @@ bool UpdaterPrivate::StartUpdateCheck() { connect(main_process, static_cast(&QProcess::finished), this, &UpdaterPrivate::UpdaterReady, Qt::QueuedConnection); - connect(main_process, static_cast(&QProcess::error), + connect(main_process, static_cast(&QProcess::errorOccurred), this, &UpdaterPrivate::UpdaterError, Qt::QueuedConnection); main_process->start(QIODevice::ReadOnly);