Abdelrazak Younes wrote:
[EMAIL PROTECTED] wrote:
Author: dov
Date: Thu Feb  7 23:46:47 2008
New Revision: 22854

URL: http://www.lyx.org/trac/changeset/22854
Log:
compilation fix

Modified:
    lyx-devel/trunk/src/frontends/qt4/GuiSymbols.cpp

Modified: lyx-devel/trunk/src/frontends/qt4/GuiSymbols.cpp
URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/frontends/qt4/GuiSymbols.cpp?rev=22854 ==============================================================================
--- lyx-devel/trunk/src/frontends/qt4/GuiSymbols.cpp (original)
+++ lyx-devel/trunk/src/frontends/qt4/GuiSymbols.cpp Thu Feb 7 23:46:47 2008
@@ -283,7 +283,7 @@
     SymbolsList::const_iterator const end = symbols.end();
for (SymbolsList::const_iterator it = symbols.begin(); it != end; ++it) {
         char_type c = *it;
-        QChar::Category cat = QChar::category((uint) c);
+        QChar::Category cat = QChar::Category((uint) c);

What's that? It sure is wrong, please revert.

Abdel.


Below is the error I was getting; I don't understand at all what this is about, so it's quite possible that my fix is wrong --- but then something else is also wrong, too, and should be fixed.

Qt 4.2.1, Linux:

GuiSymbols.cpp: In member function 'void lyx::frontend::GuiSymbols::updateSymbolList()': GuiSymbols.cpp:286: error: no matching function for call to 'QChar::category(uint)' /usr/include/qt4/QtCore/qchar.h:203: note: candidates are: QChar::Category QChar::category() const
make[5]: *** [GuiSymbols.lo] Error 1
make[5]: Leaving directory `/home/dovf/lyx-trunk/src/frontends/qt4'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/dovf/lyx-trunk/src/frontends/qt4'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/dovf/lyx-trunk/src/frontends'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dovf/lyx-trunk/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/dovf/lyx-trunk/src'
make: *** [all-recursive] Error 1

Reply via email to