forked from qt-creator/qt-creator
fix CrashPad restart dialog call
Change-Id: I8764e78158d8ffa255ef26324a2f7359707865d1 Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -276,13 +276,7 @@ public:
|
|||||||
connect(helpCrashReportingButton, &QAbstractButton::clicked, this, [this] {
|
connect(helpCrashReportingButton, &QAbstractButton::clicked, this, [this] {
|
||||||
showHelpDialog(Tr::tr("Crash Reporting"), CorePlugin::msgCrashpadInformation());
|
showHelpDialog(Tr::tr("Crash Reporting"), CorePlugin::msgCrashpadInformation());
|
||||||
});
|
});
|
||||||
connect(&s.enableCrashReporting, &BaseAspect::changed, this, [this] {
|
connect(&s.enableCrashReporting, &BaseAspect::changed, this, &SystemSettingsWidget::apply);
|
||||||
const QString restartText = Tr::tr("The change will take effect after restart.");
|
|
||||||
Core::RestartDialog restartDialog(Core::ICore::dialogParent(), restartText);
|
|
||||||
restartDialog.exec();
|
|
||||||
if (restartDialog.result() == QDialog::Accepted)
|
|
||||||
apply();
|
|
||||||
});
|
|
||||||
|
|
||||||
updateClearCrashWidgets();
|
updateClearCrashWidgets();
|
||||||
connect(m_clearCrashReportsButton, &QPushButton::clicked, this, [&] {
|
connect(m_clearCrashReportsButton, &QPushButton::clicked, this, [&] {
|
||||||
|
Reference in New Issue
Block a user