Qt: Fix tr missing or being present where it shouldn't be

This commit is contained in:
Jeffrey Pfau 2015-04-05 01:06:53 -07:00
parent 4a36c3766b
commit db2659962b
1 changed files with 2 additions and 2 deletions

View File

@ -715,7 +715,7 @@ void Window::setupMenu(QMenuBar* menubar) {
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 @@ void Window::setupMenu(QMenuBar* menubar) {
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());