citra-emu
/
citra
Archived
1
0
Fork 0

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", "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);
} }

View File

@ -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() {}