[poppler] qt5/demos
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Nov 22 18:03:52 UTC 2019
qt5/demos/navigationtoolbar.cpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit c59a2794b68f104fec15bb75af456793bf3c3d96
Author: Albert Astals Cid <aacid at kde.org>
Date: Fri Nov 22 18:49:06 2019 +0100
qt5: trUtf8 -> tr (less warnings)
diff --git a/qt5/demos/navigationtoolbar.cpp b/qt5/demos/navigationtoolbar.cpp
index 75eacfc1..77a011f1 100644
--- a/qt5/demos/navigationtoolbar.cpp
+++ b/qt5/demos/navigationtoolbar.cpp
@@ -59,10 +59,10 @@ NavigationToolBar::NavigationToolBar(QWidget *parent)
m_rotationCombo = new QComboBox(this);
// NOTE: \302\260 = degree symbol
- m_rotationCombo->addItem(trUtf8("0\302\260"));
- m_rotationCombo->addItem(trUtf8("90\302\260"));
- m_rotationCombo->addItem(trUtf8("180\302\260"));
- m_rotationCombo->addItem(trUtf8("270\302\260"));
+ m_rotationCombo->addItem(tr("0\302\260"));
+ m_rotationCombo->addItem(tr("90\302\260"));
+ m_rotationCombo->addItem(tr("180\302\260"));
+ m_rotationCombo->addItem(tr("270\302\260"));
// TODO replace with qOverload once we start requiring Qt 5.7
connect(m_rotationCombo, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, &NavigationToolBar::slotRotationComboChanged);
addWidget(m_rotationCombo);
More information about the poppler
mailing list