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] {
|
||||
showHelpDialog(Tr::tr("Crash Reporting"), CorePlugin::msgCrashpadInformation());
|
||||
});
|
||||
connect(&s.enableCrashReporting, &BaseAspect::changed, this, [this] {
|
||||
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();
|
||||
});
|
||||
connect(&s.enableCrashReporting, &BaseAspect::changed, this, &SystemSettingsWidget::apply);
|
||||
|
||||
updateClearCrashWidgets();
|
||||
connect(m_clearCrashReportsButton, &QPushButton::clicked, this, [&] {
|
||||
|
Reference in New Issue
Block a user