Ref T401, allow to trigger crash from internals page

This commit is contained in:
Klaus Basan
2019-02-21 00:27:30 +01:00
committed by Mat Sutcliffe
parent 5fe4c95f4b
commit da52e25f78
3 changed files with 150 additions and 70 deletions

View File

@@ -27,8 +27,7 @@ namespace BlackGui
namespace Components
{
//! Internals for debugging, statistics
class BLACKGUI_EXPORT CInternalsComponent :
public QWidget
class BLACKGUI_EXPORT CInternalsComponent : public QWidget
{
Q_OBJECT
@@ -77,6 +76,12 @@ namespace BlackGui
//! Set the context flags
void contextFlagsToGui();
//! Simulate a crash
void simulateCrash();
//! Checkbox toggled
void onCrashDumpUploadToggled(bool checked);
QScopedPointer<Ui::CInternalsComponent> ui;
};
} // namespace