mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 21:30:19 -06:00
DolphinQt: Handle the Host_UpdateTitle callback.
This commit is contained in:
@ -10,8 +10,15 @@
|
||||
#include "Common/MsgHandler.h"
|
||||
#include "Core/Host.h"
|
||||
|
||||
#include "DolphinQt/Host.h"
|
||||
#include "DolphinQt/MainWindow.h"
|
||||
|
||||
HostTitleEvent::HostTitleEvent(const std::string& title)
|
||||
: QEvent((QEvent::Type)HostEvent::TitleEvent),
|
||||
m_title(title)
|
||||
{
|
||||
}
|
||||
|
||||
void Host_Message(int id)
|
||||
{
|
||||
// TODO
|
||||
@ -24,7 +31,7 @@ void Host_UpdateMainFrame()
|
||||
|
||||
void Host_UpdateTitle(const std::string& title)
|
||||
{
|
||||
// TODO
|
||||
qApp->postEvent(g_main_window, new HostTitleEvent(title));
|
||||
}
|
||||
|
||||
void* Host_GetRenderHandle()
|
||||
|
Reference in New Issue
Block a user