Qt: Move EmuThread ownership from render window to main window.

This commit is contained in:
bunnei 2015-04-16 18:35:09 -04:00
parent 4d30edc11e
commit 762c1a9ff5
6 changed files with 57 additions and 69 deletions

View file

@ -13,7 +13,7 @@
#include "common/break_points.h"
class QAction;
class EmuThread;
class GMainWindow;
class DisassemblerModel : public QAbstractListModel
{
@ -51,7 +51,7 @@ class DisassemblerWidget : public QDockWidget
Q_OBJECT
public:
DisassemblerWidget(QWidget* parent, EmuThread& emu_thread);
DisassemblerWidget(QWidget* parent, GMainWindow& main_window);
void Init();
@ -75,5 +75,5 @@ private:
u32 base_addr;
EmuThread& emu_thread;
GMainWindow& main_window;
};