X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiDelimiter.cpp;h=0d7ad5d219aff74912db2f268a47c1c2aa257d62;hb=28be7d552f62cc02fa86d7f79201d089bfb2d7b5;hp=104cb761bd62a9f833ea5ff26eee991c926eff62;hpb=c49cd699986175a5a76490e2109332ce8919eb59;p=lyx.git diff --git a/src/frontends/qt4/GuiDelimiter.cpp b/src/frontends/qt4/GuiDelimiter.cpp index 104cb761bd..0d7ad5d219 100644 --- a/src/frontends/qt4/GuiDelimiter.cpp +++ b/src/frontends/qt4/GuiDelimiter.cpp @@ -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.