Now handler works.

This commit is contained in:
Denis Davydov 2018-06-21 18:36:02 +03:00
parent a2fee2fe26
commit d557b16c6a
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
Handler::Handler()
{
network = new Network(false);
network = new Network();
connect(network, &Network::json_received, this, &Handler::handle);
}

View File

@ -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();
}