Selaa lähdekoodia

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.
Yuri Kunde Schlesner 9 vuotta sitten
vanhempi
commit
008c709dbf
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      src/citra_qt/main.cpp

+ 2 - 2
src/citra_qt/main.cpp

@@ -627,8 +627,8 @@ void GMainWindow::UpdateStatusBar() {
 
 
     auto results = Core::System::GetInstance().GetAndResetPerfStats();
     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_frametime_label->setText(tr("Frame: %1 ms").arg(results.frametime * 1000.0, 0, 'f', 2));
 
 
     emu_speed_label->setVisible(true);
     emu_speed_label->setVisible(true);