mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
According to André, QLatin1String is cheaper.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33306 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
10b3f73e19
commit
a7c9c14b23
@ -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]));
|
||||
|
Loading…
Reference in New Issue
Block a user