From eeb6e8333c5d4207a22a23f09e71b8334bdf7532 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 28 Dec 2016 22:44:40 +0100 Subject: [PATCH] Fixup c49cd699: QString::toStdString is not always available This method requires STL support in Qt. Fortunately, it is not needed here. --- src/frontends/qt4/GuiDelimiter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.39.2