aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 837e06c..1707657 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -119,7 +119,6 @@ int main(int argc, char *argv[])
std::shared_ptr<Configuration> config = std::make_shared<Configuration>();
config->readDefaultConfiguration(readConfig(parser.value(defaultConfigOption)));
config->readUserConfiguration(parser.value(configOption).toStdString());
- instance.setConfiguration(config);
// check if first run
if(config->value<bool>("browser.firstRun").value() || parser.isSet(generateUserConfigOption)) {
@@ -141,6 +140,8 @@ int main(int argc, char *argv[])
}
}
+ instance.setConfiguration(config);
+
// TODO: instance check
instance.loadProfiles();