- BUGFIX: the function that set the rows color doesn't handle hidden columns anymore

- BUGFIX: improved search engine plugin manager code and fixed bugs
This commit is contained in:
Christophe Dumez 2007-09-03 17:45:16 +00:00
commit 24dced2411
6 changed files with 73 additions and 59 deletions

View file

@ -664,7 +664,7 @@ void DownloadingTorrents::portListeningFailure() {
// Set the color of a row in data model
void DownloadingTorrents::setRowColor(int row, QString color) {
unsigned int nbColumns = DLListModel->columnCount();
unsigned int nbColumns = DLListModel->columnCount()-1;
for(unsigned int i=0; i<nbColumns; ++i) {
DLListModel->setData(DLListModel->index(row, i), QVariant(QColor(color)), Qt::ForegroundRole);
}