From a7c9c14b23ad6c8feefec49208cee769d11f6d36 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Mon, 1 Feb 2010 01:07:32 +0000 Subject: [PATCH] =?utf8?q?According=20to=20Andr=C3=A9,=20QLatin1String=20i?= =?utf8?q?s=20cheaper.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33306 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/LengthCombo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/LengthCombo.cpp b/src/frontends/qt4/LengthCombo.cpp index a21bc4da36..8e57af1ca6 100644 --- a/src/frontends/qt4/LengthCombo.cpp +++ b/src/frontends/qt4/LengthCombo.cpp @@ -27,7 +27,7 @@ LengthCombo::LengthCombo(QWidget * parent) for (int i = 0; i < lyx::num_units; i++) { // mu does not make sense usually // so it must be added manually, if needed - if (QString(lyx::unit_name[i]) == "mu") + if (QLatin1String(lyx::unit_name[i]) == "mu") continue; QComboBox::addItem(lyx::qt_(lyx::unit_name_gui[i]), lyx::toqstr(lyx::unit_name[i])); -- 2.39.5