Qt: Fix tr missing or being present where it shouldn't be
Jeffrey Pfau jeffrey@endrift.com
Sun, 05 Apr 2015 01:06:53 -0700
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/platform/qt/Window.cpp
→
src/platform/qt/Window.cpp
@@ -715,7 +715,7 @@ connect(setSize, &QAction::triggered, [this, i]() {
showNormal(); resizeFrame(VIDEO_HORIZONTAL_PIXELS * i, VIDEO_VERTICAL_PIXELS * i); }); - addControlledAction(frameMenu, setSize, tr("frame%1x").arg(QString::number(i))); + addControlledAction(frameMenu, setSize, QString("frame%1x").arg(QString::number(i))); } addControlledAction(frameMenu, frameMenu->addAction(tr("Fullscreen"), this, SLOT(toggleFullScreen()), QKeySequence("Ctrl+F")), "fullscreen");@@ -759,7 +759,7 @@ m_config->updateOption("audioBuffers");
avMenu->addSeparator(); - QMenu* target = avMenu->addMenu("FPS target"); + QMenu* target = avMenu->addMenu(tr("FPS target")); ConfigOption* fpsTargetOption = m_config->addOption("fpsTarget"); fpsTargetOption->connect([this](const QVariant& value) { emit fpsTargetChanged(value.toInt());