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 committed by Juergen Spitzmueller
parent 5de448e132
commit 5962cea9d2
2 changed files with 4 additions and 2 deletions

View File

@ -412,9 +412,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.

View File

@ -41,6 +41,8 @@ What's new
- Implement wrap-around in change tracking's next-change function (bug 10388).
- The Math Delimiters dialog now has a "Swap & Reverse" button (bug 10457).
- Document Settings > "Output" has been renamed to "Formats" now that it
also contains the option "Save transient properties".