mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
ZoomLabel - Make the label text translateable
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
parent
695f3ba802
commit
b48132a806
|
@ -57,7 +57,7 @@ void ZoomLabel::requestShow()
|
||||||
void ZoomLabel::valueChanged(int value)
|
void ZoomLabel::valueChanged(int value)
|
||||||
{
|
{
|
||||||
if ((m_view) && (value != qzSettings->defaultZoomLevel) && (qzSettings->showZoomLabel)) {
|
if ((m_view) && (value != qzSettings->defaultZoomLevel) && (qzSettings->showZoomLabel)) {
|
||||||
setText(QSL("%1%").arg(m_view->zoomFactor() * 100));
|
setText(tr("%1%").arg(m_view->zoomFactor() * 100));
|
||||||
show();
|
show();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user