minor format

This commit is contained in:
mercury233
2021-07-26 13:36:58 +08:00
parent dc9c32d136
commit 81ca3db76a

View File

@@ -2817,8 +2817,9 @@ void GMainWindow::OnCaptureScreenshot() {
OnPauseGame();
if (Settings::values.renderer_backend.GetValue() != Settings::RendererBackend::OpenGL) {
QMessageBox::warning(this, tr("Failed to capture screenshot."),
tr("The screenshot feature is only available in OpenGL mode for now."));
QMessageBox::warning(
this, tr("Failed to capture screenshot."),
tr("The screenshot feature is only available in OpenGL mode for now."));
OnStartGame();
return;
}