forked from qt-creator/qt-creator
Help: Convert to Tr::tr
Change-Id: I3f9ca195488f7cc90e7f58eb15263dde1bc911c4 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
|
||||
#include "helpviewer.h"
|
||||
#include "helpconstants.h"
|
||||
#include "helptr.h"
|
||||
#include "localhelpmanager.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
@@ -215,8 +216,9 @@ void HelpViewer::incrementZoom(int steps)
|
||||
void HelpViewer::applyZoom(int percentage)
|
||||
{
|
||||
const int newZoom = LocalHelpManager::setFontZoom(percentage);
|
||||
Utils::FadingIndicator::showText(this, QCoreApplication::translate("Help::HelpViewer",
|
||||
"Zoom: %1%").arg(newZoom), Utils::FadingIndicator::SmallText);
|
||||
Utils::FadingIndicator::showText(this,
|
||||
Tr::tr("Zoom: %1%").arg(newZoom),
|
||||
Utils::FadingIndicator::SmallText);
|
||||
}
|
||||
|
||||
void HelpViewer::slotLoadStarted()
|
||||
|
||||
Reference in New Issue
Block a user