made qt window title consistent

This commit is contained in:
bunnei 2014-04-23 22:49:55 -04:00
parent 80a040ac77
commit 66a98ea686
2 changed files with 5 additions and 1 deletions

View file

@ -93,6 +93,10 @@ GMainWindow::GMainWindow()
connect(GetHotkey("Main Window", "Load File", this), SIGNAL(activated()), this, SLOT(OnMenuLoadFile()));
connect(GetHotkey("Main Window", "Start Emulation", this), SIGNAL(activated()), this, SLOT(OnStartGame()));
setWindowTitle(render_window->GetWindowTitle().c_str());
show();
LogManager::Init();
System::Init(render_window);
}

View file

@ -67,7 +67,7 @@ public:
protected:
EmuWindow() : m_client_area_width(640), m_client_area_height(480) {
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;
}
virtual ~EmuWindow() {}