Skip to content
Snippets Groups Projects
Commit 7b74a41f authored by Mikael Djurfeldt's avatar Mikael Djurfeldt
Browse files

Fix postponed setup

parent 6cd8cd6f
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,7 @@ namespace MUSIC { ...@@ -47,7 +47,7 @@ namespace MUSIC {
} }
Setup::Setup (int& argc, char**& argv, int required, int* provided) Setup::Setup (int& argc, char**& argv, int required, int* provided)
: argc_ (argc), argv_ (argv) : argc_ (argc), argv_ (argv)
{ {
...@@ -272,8 +272,10 @@ namespace MUSIC { ...@@ -272,8 +272,10 @@ namespace MUSIC {
{ {
if (postponeSetup_) if (postponeSetup_)
{ {
delete config_; postponeSetup_ = false;
config_ = new Configuration (); std::string config = "";
launchedWithExec (config);
config_ = new Configuration (config);
fullInit (); fullInit ();
} }
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment