made qt window title consistent
This commit is contained in:
parent
80a040ac77
commit
66a98ea686
@ -93,6 +93,10 @@ GMainWindow::GMainWindow()
|
|||||||
connect(GetHotkey("Main Window", "Load File", this), SIGNAL(activated()), this, SLOT(OnMenuLoadFile()));
|
connect(GetHotkey("Main Window", "Load File", this), SIGNAL(activated()), this, SLOT(OnMenuLoadFile()));
|
||||||
connect(GetHotkey("Main Window", "Start Emulation", this), SIGNAL(activated()), this, SLOT(OnStartGame()));
|
connect(GetHotkey("Main Window", "Start Emulation", this), SIGNAL(activated()), this, SLOT(OnStartGame()));
|
||||||
|
|
||||||
|
setWindowTitle(render_window->GetWindowTitle().c_str());
|
||||||
|
|
||||||
|
show();
|
||||||
|
|
||||||
LogManager::Init();
|
LogManager::Init();
|
||||||
System::Init(render_window);
|
System::Init(render_window);
|
||||||
}
|
}
|
||||||
|
@ -67,7 +67,7 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
EmuWindow() : m_client_area_width(640), m_client_area_height(480) {
|
EmuWindow() : m_client_area_width(640), m_client_area_height(480) {
|
||||||
char window_title[255];
|
char window_title[255];
|
||||||
sprintf(window_title, "citra-%s", Common::g_scm_desc);
|
sprintf(window_title, "Citra | %s-%s", Common::g_scm_branch, Common::g_scm_desc);
|
||||||
m_window_title = window_title;
|
m_window_title = window_title;
|
||||||
}
|
}
|
||||||
virtual ~EmuWindow() {}
|
virtual ~EmuWindow() {}
|
||||||
|
Loading…
Reference in New Issue
Block a user