Cleanup for wormhole connection

This commit is contained in:
adityapk00
2019-02-05 14:38:37 -08:00
parent dce754ce41
commit 724c3b4f44
4 changed files with 38 additions and 27 deletions

View File

@@ -68,7 +68,7 @@ MainWindow::MainWindow(QWidget *parent) :
if (rpc->getConnection() == nullptr)
return;
AppDataServer::connectAppDialog(this);
AppDataServer::getInstance()->connectAppDialog(this);
});
// Address Book
@@ -109,7 +109,7 @@ MainWindow::MainWindow(QWidget *parent) :
}
void MainWindow::createWebsocket() {
new WSServer(8237, true, this);
wsserver = new WSServer(8237, false, this);
}
void MainWindow::restoreSavedStates() {
@@ -1365,4 +1365,6 @@ MainWindow::~MainWindow()
delete loadingMovie;
delete logger;
delete wsserver;
}