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:
Jean-Marc Lasgouttes 2016-12-28 22:44:40 +01:00
parent e03543eff1
commit eeb6e8333c

View File

@ -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.