From b69b47b8e23578b501341b694b4c8782a46b83ad Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Thu, 14 Jun 2018 12:17:01 -0500 Subject: [PATCH] Last pieces of refactor --- src/slic3r.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/slic3r.cpp b/src/slic3r.cpp index 6d3470c83..70a9d7d29 100644 --- a/src/slic3r.cpp +++ b/src/slic3r.cpp @@ -46,12 +46,8 @@ main(int argc, char **argv) DynamicPrintConfig print_config; #ifdef USE_WX - std::shared_ptr gui_config = std::make_shared(); - - GUI::App *gui = new GUI::App(gui_config); + GUI::App *gui = new GUI::App(); - gui_config->show_host = true; - GUI::App::SetInstance(gui); wxEntry(argc, argv); #endif