fixing the crash on exit

This commit is contained in:
pwpiwi 2017-06-01 15:35:19 +02:00
commit 5acd195d0f
7 changed files with 75 additions and 49 deletions

View file

@ -118,4 +118,17 @@ class ProxGuiQT : public QObject
void HideGraphWindowSignal(void);
void ExitSignal(void);
};
class WorkerThread : public QThread {
Q_OBJECT;
public:
WorkerThread(char*, bool);
~WorkerThread();
void run();
private:
char *script_cmds_file = NULL;
bool usb_present = false;
};
#endif // PROXGUI_QT