refactor: Remove pushy note to enable crash dumps

This commit is contained in:
Lars Toenning
2024-04-28 10:52:42 +02:00
parent 45c8a7575a
commit 5b6abbefaf
2 changed files with 0 additions and 16 deletions

View File

@@ -31,12 +31,6 @@ namespace BlackGui::Components
ui->cb_Agree->setChecked(CBuildConfig::isLocalDeveloperDebugBuild());
connect(ui->cb_CrashDumps, &QCheckBox::toggled, this, &CLegalInfoComponent::onAllowCrashDumps);
QPointer<CLegalInfoComponent> myself(this);
QTimer::singleShot(5000, this, [=] {
if (!sApp || sApp->isShuttingDown() || !myself) { return; }
myself->showCrashDumpHint();
});
}
CLegalInfoComponent::~CLegalInfoComponent()
@@ -60,13 +54,6 @@ namespace BlackGui::Components
CLogMessage::preformatted(m_crashDumpUploadEnabled.setAndSave(checked));
}
void CLegalInfoComponent::showCrashDumpHint()
{
if (ui->cb_CrashDumps->isChecked()) { return; }
const CStatusMessage m = CStatusMessage(this).info(u"We recommend to enable crash dump uploads");
this->showOverlayHTMLMessage(m, 7500);
}
void CLegalInfoComponent::setChecklistInfo()
{
if (!sGui) { return; }

View File

@@ -42,9 +42,6 @@ namespace BlackGui::Components
//! Allow crash dumps
void onAllowCrashDumps(bool checked);
//! Crashdum hint
void showCrashDumpHint();
//! Set the checklist info
void setChecklistInfo();