#3384 Add RiaApplication::enableDebugFeatures method that checks environment for RESINSIGHT_DEBUG

* Disable System tab of preferences if this is not enabled.
This commit is contained in:
Gaute Lindkvist
2018-09-21 12:51:36 +02:00
parent 38d3b666e6
commit e4a5eb2769
4 changed files with 77 additions and 25 deletions
+3 -1
View File
@@ -106,7 +106,7 @@ public:
RimViewWindow* activePlotWindow() const;
RimProject* project();
RimProject* project();
void createMockModel();
void createResultsMockModel();
@@ -203,6 +203,8 @@ public:
void waitUntilCommandObjectsHasBeenProcessed();
void saveWinGeoAndDockToolBarLayout();
static bool enableDevelopmentFeatures();
private:
void onProjectOpenedOrClosed();
void setWindowCaptionFromAppState();