]> git.lyx.org Git - features.git/commitdiff
Extend the fix for #5760 to the cygwin xcb backend.
authorEnrico Forestieri <forenr@lyx.org>
Sat, 30 May 2015 15:25:36 +0000 (17:25 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Sat, 30 May 2015 15:25:36 +0000 (17:25 +0200)
src/frontends/qt4/GuiDelimiter.cpp

index c1a4f90bd0b21eae2e8623f105c656e240fb047b..458d05ca6a9c582ef834e0aeea8a51c1d1b16ec5 100644 (file)
@@ -192,8 +192,9 @@ GuiDelimiter::GuiDelimiter(GuiView & lv)
 // on Windows (see #5760).
 // FIXME: Re-check after Windows has settled to Qt 5.
 //        ATM, this doesn't work also with Qt 5.4.1 because of still missing
-//        glyphs for \llbracket and \rrbracket.
-#if defined(Q_OS_WIN) || defined(Q_CYGWIN_WIN)
+//        glyphs for \llbracket and \rrbracket. These last symbols are also
+//        missing when compiling on cygwin using the X11 xcb backend.
+#if defined(Q_OS_WIN) || defined(Q_OS_CYGWIN)
                QString symbol(ms.fontcode?
                        QChar(ms.fontcode) : toqstr(docstring(1, ms.unicode)));
                QListWidgetItem * lwi = new QListWidgetItem(symbol);