diff --git a/src/kernel/handler.cpp b/src/kernel/handler.cpp index 5b97ec3..48db178 100644 --- a/src/kernel/handler.cpp +++ b/src/kernel/handler.cpp @@ -2,7 +2,7 @@ Handler::Handler() { - network = new Network(false); + network = new Network(); connect(network, &Network::json_received, this, &Handler::handle); } diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 0fd0310..a411dd0 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -6,7 +6,7 @@ MainWindow::MainWindow(QWidget *parent) : ui(new Ui::MainWindow) { ui->setupUi(this); - network = new Network(true); + network = new Network(false); handler = new Handler(); }