made qt window title consistent
This commit is contained in:
		@@ -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);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -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() {}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user