Skip to content
Snippets Groups Projects
Commit a770a08d authored by akiraohgaki's avatar akiraohgaki
Browse files

Set parent object

parent 2142e53a
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ int main(int argc, char *argv[])
// Init
QGuiApplication app(argc, argv); // This is backend program, but need GUI module
auto *configHandler = new ConfigHandler();
auto *configHandler = new ConfigHandler(&app);
auto appConfigApplication = configHandler->getAppConfigApplication();
app.setApplicationName(appConfigApplication["name"].toString());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment