mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
Ref T401, allow to trigger crash from internals page
This commit is contained in:
committed by
Mat Sutcliffe
parent
5fe4c95f4b
commit
da52e25f78
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user