mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-03 16:39:01 -06:00 
			
		
		
		
	Qt: Don't show fractional figures in the status bar
They're not very important and this makes the display changes less often, making it less distracting.
This commit is contained in:
		@@ -627,8 +627,8 @@ void GMainWindow::UpdateStatusBar() {
 | 
			
		||||
 | 
			
		||||
    auto results = Core::System::GetInstance().GetAndResetPerfStats();
 | 
			
		||||
 | 
			
		||||
    emu_speed_label->setText(tr("Speed: %1%").arg(results.emulation_speed * 100.0, 0, 'f', 2));
 | 
			
		||||
    game_fps_label->setText(tr("Game: %1 FPS").arg(results.game_fps, 0, 'f', 1));
 | 
			
		||||
    emu_speed_label->setText(tr("Speed: %1%").arg(results.emulation_speed * 100.0, 0, 'f', 0));
 | 
			
		||||
    game_fps_label->setText(tr("Game: %1 FPS").arg(results.game_fps, 0, 'f', 0));
 | 
			
		||||
    emu_frametime_label->setText(tr("Frame: %1 ms").arg(results.frametime * 1000.0, 0, 'f', 2));
 | 
			
		||||
 | 
			
		||||
    emu_speed_label->setVisible(true);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user