mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fixup c49cd699
: QString::toStdString is not always available
This method requires STL support in Qt. Fortunately, it is not needed here.
This commit is contained in:
parent
e03543eff1
commit
eeb6e8333c
@ -432,9 +432,9 @@ void GuiDelimiter::on_swapPB_clicked()
|
||||
QChar(nrms.fontcode) : toqstr(docstring(1, nrms.unicode)));
|
||||
|
||||
// Handle unencoded "symbol" of "(None)".
|
||||
if (lqs.toStdString() == "?")
|
||||
if (lqs == "?")
|
||||
lqs = qt_("(None)");
|
||||
if(rqs.toStdString() == "?")
|
||||
if(rqs == "?")
|
||||
rqs = qt_("(None)");
|
||||
|
||||
// Locate matching QListWidgetItem.
|
||||
|
Loading…
Reference in New Issue
Block a user