diff options
author | bunnei <ericbunnie@gmail.com> | 2014-04-23 22:49:55 -0400 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-04-23 22:49:55 -0400 |
commit | 66a98ea686ae4ff59d5891509b0e1bfd90ce1a3e (patch) | |
tree | a24694a63cbb71645c324208b4110a1288a80a60 /src | |
parent | 80a040ac772132a8d8e7385c0261f545adc88aee (diff) |
made qt window title consistent
Diffstat (limited to 'src')
-rw-r--r-- | src/citra_qt/main.cpp | 4 | ||||
-rw-r--r-- | src/common/emu_window.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index f20d33485b..89aae7ce6f 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -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); } diff --git a/src/common/emu_window.h b/src/common/emu_window.h index c53d6d7a2f..5e2c33d7ab 100644 --- a/src/common/emu_window.h +++ b/src/common/emu_window.h @@ -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() {} |