Permalink
Browse files

Merge pull request #6868 from aldelaro5/qt-debugger-fix-updatediasm

Qt/Debugger: Use QApplication::instance() as the connection context in Host_UpdateDisasmDialog()
  • Loading branch information...
spycrab committed May 16, 2018
2 parents 47fd8c6 + 33ed5b2 commit b203024a26ac31b9e1a7f16764c75915b29d66b5
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/Core/DolphinQt2/Host.cpp
@@ -14,7 +14,7 @@
#include "Core/Debugger/PPCDebugInterface.h"
#include "Core/Host.h"
#include "Core/PowerPC/PowerPC.h"
#include "DolphinQt2/QtUtils/RunOnObject.h"
#include "DolphinQt2/QtUtils/QueueOnObject.h"
#include "DolphinQt2/Settings.h"
#include "VideoCommon/RenderBase.h"
#include "VideoCommon/VideoConfig.h"
@@ -113,7 +113,7 @@ void Host_YieldToUI()
void Host_UpdateDisasmDialog()
{
QueueOnObject(Host::GetInstance(), [] { emit Host::GetInstance()->UpdateDisasmDialog(); });
QueueOnObject(QApplication::instance(), [] { emit Host::GetInstance()->UpdateDisasmDialog(); });
}
void Host_UpdateProgressDialog(const char* caption, int position, int total)

0 comments on commit b203024

Please sign in to comment.