mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-13 17:44:48 -07:00
The remote client now runs in an extra thread, fixing issue #29
This commit is contained in:
parent
542fd2c5c8
commit
4e4a7563db
26 changed files with 130 additions and 79 deletions
|
|
@ -29,6 +29,7 @@ class RemoteClient;
|
|||
class LocalClient;
|
||||
class LocalServer;
|
||||
class ServerInfo_User;
|
||||
class QThread;
|
||||
|
||||
class MainWindow : public QMainWindow {
|
||||
Q_OBJECT
|
||||
|
|
@ -66,9 +67,12 @@ private:
|
|||
TabSupervisor *tabSupervisor;
|
||||
|
||||
RemoteClient *client;
|
||||
QThread *clientThread;
|
||||
|
||||
LocalServer *localServer;
|
||||
public:
|
||||
MainWindow(QWidget *parent = 0);
|
||||
~MainWindow();
|
||||
protected:
|
||||
void closeEvent(QCloseEvent *event);
|
||||
void changeEvent(QEvent *event);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue