Browse Source

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.
nce_cpp
Yuri Kunde Schlesner 9 years ago
parent
commit
b08b9a65d7
  1. 4
      src/citra_qt/main.cpp

4
src/citra_qt/main.cpp

@ -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);

Loading…
Cancel
Save