Qt: Fixed a bug in shutdown procedure, various cleanups.

This commit is contained in:
bunnei 2015-04-30 19:46:50 -04:00
parent ad4445c529
commit bc41de2131
7 changed files with 26 additions and 35 deletions

View file

@ -51,9 +51,9 @@ public:
bool IsRunning() { return running; }
/**
* Requests for the emulation thread to stop running and shutdown emulation
* Requests for the emulation thread to stop running
*/
void RequestShutdown() {
void RequestStop() {
stop_run = true;
running = false;
};
@ -115,8 +115,8 @@ public:
public slots:
void moveContext(); // overridden
void OnEmulationStarted(EmuThread* emu_thread);
void OnEmulationStopped();
void OnEmulationStarting(EmuThread* emu_thread);
void OnEmulationStopping();
private:
void OnMinimalClientAreaChangeRequest(const std::pair<unsigned,unsigned>& minimal_size) override;