Ref T213, Ref T271 opt-in for crash dumps

This commit is contained in:
Klaus Basan
2018-05-29 00:41:39 +02:00
parent c7f77c6892
commit efba4d99d3
3 changed files with 46 additions and 7 deletions

View File

@@ -13,6 +13,7 @@
#define BLACKGUI_COMPONENTS_LEGALINFOCOMPONENT_H
#include "blackgui/overlaymessagesframe.h"
#include "blackcore/application/applicationsettings.h"
#include <QFrame>
#include <QScopedPointer>
#include <QWizardPage>
@@ -43,7 +44,11 @@ namespace BlackGui
bool validateAgreement();
private:
//! Allow crash dumps
void onAllowCrashDumps(bool checked);
QScopedPointer<Ui::CLegalInfoComponent> ui;
BlackMisc::CSetting<BlackCore::Application::TCrashDumpUploadEnabled> m_crashDumpUploadEnabled { this };
};
/**