Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Change enum BTF_HIDEMOREBUTTON from 0x006 to 0x400, otherwise it will conflict with BTF_ATTACHREPORT. #44

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions source/Client/BugTrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,6 @@ typedef enum BUGTRAP_FLAGS_tag
* provider.
*/
BTF_ATTACHREPORT = 0x004,
/**
* @brief By default BugTrap show a "More..." button to open
* the advanced ui in the simple dialog. Enable this flag
* hide the button.
*/
BTF_HIDEMOREBUTTON = 0x006,
/**
* @brief Set this flag to add list of all processes and loaded
* modules to the report. Disable this option to speedup report
Expand Down Expand Up @@ -160,7 +154,13 @@ typedef enum BUGTRAP_FLAGS_tag
* @brief Automatically restart the application after the crash has been
* handled.
*/
BTF_RESTARTAPP = 0x200
BTF_RESTARTAPP = 0x200,
/**
* @brief By default BugTrap show a "More..." button to open
* the advanced ui in the simple dialog. Enable this flag
* hide the button.
*/
BTF_HIDEMOREBUTTON = 0x400,
}
BUGTRAP_FLAGS;

Expand Down
2 changes: 1 addition & 1 deletion source/Examples/BugTrapTest/BugTrapTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ CBugTrapTestApp::CBugTrapTestApp()
// Setup exception handler
BT_SetAppName(_T("BugTrap Test"));
BT_SetSupportEMail(_T("[email protected]"));
BT_SetFlags(BTF_DETAILEDMODE | BTF_EDITMAIL | BTF_ATTACHREPORT| BTF_SCREENCAPTURE);
BT_SetFlags(BTF_DETAILEDMODE | BTF_EDITMAIL | BTF_ATTACHREPORT | BTF_SCREENCAPTURE);
BT_SetSupportURL(_T("http://www.intellesoft.net"));

// = BugTrapServer ===========================================
Expand Down