Skip to content

Commit

Permalink
Fixed Socketcommunicator (temporary)
Browse files Browse the repository at this point in the history
  • Loading branch information
km2442 committed May 20, 2019
1 parent db5ffe5 commit 4ca8ba3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Windows/AutoSwitch/Source/Main/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

QSystemTrayIcon *trayIcon;
QTableWidget *tasklist;
SocketCommunicator *server;

//MainWindow MainWindow::mainwindowInstance;

Expand Down Expand Up @@ -45,8 +46,8 @@ MainWindow::MainWindow(QWidget *parent) :

setAlignedIcons();

SocketCommunicator server(nullptr, this);
server.StartServer();
server = new SocketCommunicator(nullptr, this);
server->StartServer();
}

MainWindow::~MainWindow()
Expand Down

0 comments on commit 4ca8ba3

Please sign in to comment.