Skip to content

Commit

Permalink
Disable development version warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mauser committed Aug 3, 2020
1 parent 8a64b75 commit 4b8d6b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/src/MainForm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1784,7 +1784,7 @@ void MainForm::action_window_showPatternEditor()
void MainForm::showDevelWarning()
{
//set this to 'false' for the case that you want to make a release..
if ( true ) {
if ( false ) {
Preferences *pPreferences = Preferences::get_instance();
bool isDevelWarningEnabled = pPreferences->getShowDevelWarning();
if(isDevelWarningEnabled) {
Expand Down

1 comment on commit 4b8d6b2

@dvzrv
Copy link
Contributor

@dvzrv dvzrv commented on 4b8d6b2 Aug 5, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ouf... why is this not tracked via an option to the cmake build system? This is very error-prone and manual.

Please sign in to comment.