Abdelrazak Younes <[EMAIL PROTECTED]> writes: > You are probably confused, QBrush doesn't take a QString nor a char *, > it needs a QColor. But QColor can take both: > > QColor ( const QString & name ) > QColor ( const char * name )
All I know is that the code I removed was like:
-#if QT_VERSION >= 0x040200
- item->setForeground(0, QBrush("black"));
- item->setForeground(1, QBrush("black"));
-#else
- item->setTextColor(QColor("black"));
-#endif
JMarc
