mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
- 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:
parent
1b71a4a4a4
commit
24dced2411
6 changed files with 73 additions and 59 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue