commit eeb6e8333c5d4207a22a23f09e71b8334bdf7532
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Wed Dec 28 22:44:40 2016 +0100

    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 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/frontends/qt4/GuiDelimiter.cpp 
b/src/frontends/qt4/GuiDelimiter.cpp
index 104cb76..0d7ad5d 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.

Reply via email to