mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
According to André, QLatin1String is cheaper.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33307 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7d0a1269af
commit
c47af690de
@ -129,7 +129,7 @@ void LengthCombo::reset()
|
||||
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…
x
Reference in New Issue
Block a user