https://bugs.kde.org/show_bug.cgi?id=378523

Jack Kiefer <jack.c.kie...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jack.c.kie...@gmail.com

--- Comment #7 from Jack Kiefer <jack.c.kie...@gmail.com> ---
Slightly different hack to get this fixed for Konsole 17.08. I was able to
modify the same code block
(https://github.com/KDE/konsole/blob/Applications/17.08/src/TerminalDisplay.cpp#L826):

    if (font.bold() != useBold
            || font.underline() != useUnderline
            || font.italic() != useItalic
            || font.strikeOut() != useStrikeOut
            || font.overline() != useOverline) {
        font.setBold(useBold);
        font.setUnderline(useUnderline);
        font.setItalic(useItalic);
        font.setStrikeOut(useStrikeOut);
        font.setOverline(useOverline);
        if (font.bold())
        {
          font.setStyleName(QStringLiteral("Bold"));
        }
        painter.setFont(font);
     }


I was having access issues with the QString constructor, but calling instead
calling QStringLiteral was a success (and more efficient, I hear).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to