summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLC <mathew1800@gmail.com>2021-01-09 22:43:47 +0100
committerGitHub <noreply@github.com>2021-01-09 22:43:47 +0100
commit64a24f334403d4086e211675223a320242bc75f6 (patch)
tree31f7c7523376cb9a5b765e7b12d5d368bc8c0816
parentMerge pull request #5319 from ReinUsesLisp/msvc-warnings (diff)
parentgeneral: Resolve C4062 warnings on MSVC (diff)
downloadyuzu-64a24f334403d4086e211675223a320242bc75f6.tar
yuzu-64a24f334403d4086e211675223a320242bc75f6.tar.gz
yuzu-64a24f334403d4086e211675223a320242bc75f6.tar.bz2
yuzu-64a24f334403d4086e211675223a320242bc75f6.tar.lz
yuzu-64a24f334403d4086e211675223a320242bc75f6.tar.xz
yuzu-64a24f334403d4086e211675223a320242bc75f6.tar.zst
yuzu-64a24f334403d4086e211675223a320242bc75f6.zip
-rw-r--r--src/yuzu/configuration/configure_motion_touch.cpp2
-rw-r--r--src/yuzu/util/url_request_interceptor.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu/configuration/configure_motion_touch.cpp b/src/yuzu/configuration/configure_motion_touch.cpp
index c2a7113da..eb8eacbf9 100644
--- a/src/yuzu/configuration/configure_motion_touch.cpp
+++ b/src/yuzu/configuration/configure_motion_touch.cpp
@@ -51,6 +51,8 @@ CalibrationConfigurationDialog::CalibrationConfigurationDialog(QWidget* parent,
case CalibrationConfigurationJob::Status::Completed:
text = tr("Configuration completed!");
break;
+ default:
+ break;
}
QMetaObject::invokeMethod(this, "UpdateLabelText", Q_ARG(QString, text));
if (status == CalibrationConfigurationJob::Status::Completed) {
diff --git a/src/yuzu/util/url_request_interceptor.cpp b/src/yuzu/util/url_request_interceptor.cpp
index 2d491d8c0..b637e771e 100644
--- a/src/yuzu/util/url_request_interceptor.cpp
+++ b/src/yuzu/util/url_request_interceptor.cpp
@@ -22,6 +22,8 @@ void UrlRequestInterceptor::interceptRequest(QWebEngineUrlRequestInfo& info) {
case QWebEngineUrlRequestInfo::ResourceTypeXhr:
emit FrameChanged();
break;
+ default:
+ break;
}
}