Merge pull request #5322 from Morph1984/resolve-c4062-msvc
general: Resolve C4062 warnings on MSVC
This commit is contained in:
commit
64a24f3344
|
@ -51,6 +51,8 @@ CalibrationConfigurationDialog::CalibrationConfigurationDialog(QWidget* parent,
|
||||||
case CalibrationConfigurationJob::Status::Completed:
|
case CalibrationConfigurationJob::Status::Completed:
|
||||||
text = tr("Configuration completed!");
|
text = tr("Configuration completed!");
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
QMetaObject::invokeMethod(this, "UpdateLabelText", Q_ARG(QString, text));
|
QMetaObject::invokeMethod(this, "UpdateLabelText", Q_ARG(QString, text));
|
||||||
if (status == CalibrationConfigurationJob::Status::Completed) {
|
if (status == CalibrationConfigurationJob::Status::Completed) {
|
||||||
|
|
|
@ -22,6 +22,8 @@ void UrlRequestInterceptor::interceptRequest(QWebEngineUrlRequestInfo& info) {
|
||||||
case QWebEngineUrlRequestInfo::ResourceTypeXhr:
|
case QWebEngineUrlRequestInfo::ResourceTypeXhr:
|
||||||
emit FrameChanged();
|
emit FrameChanged();
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue