Changeset 10646


Ignore:
Timestamp:
May 10, 2011, 2:09:16 PM (9 years ago)
Author:
tbretz
Message:
Initialize DIM's environment variables through Dim::Setup
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/fact.cc

    r10629 r10646  
    22
    33#include "src/FACT.h"
     4#include "src/Dim.h"
    45#include "src/Configuration.h"
    56
     
    8283    }
    8384
    84     // To allow overwriting of DIM_DNS_NODE set 0 to 1
    85     setenv("DIM_DNS_NODE", conf.Get<string>("dns").c_str(), 1);
    86 
     85    Dim::Setup(conf.Get<string>("dns"));
    8786
    8887    QApplication app(argc, const_cast<char**>(argv));
Note: See TracChangeset for help on using the changeset viewer.