comment re. qt bug

This commit is contained in:
Vadim Kurland
2008-09-12 05:29:25 +00:00
parent 813a8645a3
commit d6b6c62a76
+6 -3
View File
@@ -200,6 +200,12 @@ instDialog::~instDialog()
} }
} }
/*
* The following color and font manipulations are subject to QT bug
* http://trolltech.no/developer/task-tracker/index_html?method=entry&id=212207
*
* This requires QT 4.4.1 or 4.3
*/
void setSuccessState(QTreeWidgetItem *item) void setSuccessState(QTreeWidgetItem *item)
{ {
QBrush b = item->foreground(1); QBrush b = item->foreground(1);
@@ -241,13 +247,10 @@ void setErrorState(QTreeWidgetItem *item)
void setInProcessState(QTreeWidgetItem *item) void setInProcessState(QTreeWidgetItem *item)
{ {
// disable font manipulation, it does not work right on windows
#if 0
QFont f = item->font(1); QFont f = item->font(1);
f.setBold(true); f.setBold(true);
item->setFont(1,f); item->setFont(1,f);
item->setFont(0,f); item->setFont(0,f);
#endif
} }
void instDialog::nextClicked() void instDialog::nextClicked()