mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
refs #603, new CMD args, formerly passed by env.vars
* removed from CProject * removed. env. vars menu items * prepared for vatlib cmd. args * prepared for eol (end of lifetime) timestamp (time bomb)
This commit is contained in:
committed by
Mathew Sutcliffe
parent
d7e5b5206c
commit
f4cbfc2fa9
@@ -7,6 +7,7 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include "blackgui/guiapplication.h"
|
||||
#include "blackmisc/project.h"
|
||||
#include "dbdebugdatabasesetup.h"
|
||||
#include "ui_dbdebugdatabasesetup.h"
|
||||
@@ -23,7 +24,7 @@ namespace BlackGui
|
||||
ui(new Ui::CDbDebugDatabaseSetup)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
bool enabled = CProject::isRunningInDeveloperEnvironment();
|
||||
bool enabled = sGui->isRunningInDeveloperEnvironment();
|
||||
this->setEnabled(enabled);
|
||||
if (!enabled)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user