Fix the threading for GL Context in Qt5.

Connect the emu_thread start/finish to a moveContext slot.
This commit is contained in:
Sacha 2014-08-25 00:47:00 +10:00
parent fab2f28ea5
commit a3a70e56ac
4 changed files with 21 additions and 10 deletions

View file

@ -81,6 +81,8 @@ signals:
class GRenderWindow : public QWidget, public EmuWindow
{
Q_OBJECT
public:
GRenderWindow(QWidget* parent = NULL);
~GRenderWindow();
@ -103,6 +105,9 @@ public:
void keyPressEvent(QKeyEvent* event);
void keyReleaseEvent(QKeyEvent* event);
private slots:
void moveContext();
private:
QGLWidget* child;