Replaced deprecated QTableWidgetItem::setBackgroundColor by QTableWidgetItem::setBackground

This commit is contained in:
thunder2 2025-07-22 16:44:51 +02:00
parent 1735797d82
commit 395a0b05d0

View file

@ -242,7 +242,7 @@ void ShareManager::load()
listWidget->setCellWidget(row, COLUMN_SHARE_FLAGS, widget);
listWidget->setItem(row, COLUMN_GROUPS, new QTableWidgetItem()) ;
listWidget->item(row,COLUMN_GROUPS)->setBackgroundColor(QColor(183,236,181)) ;
listWidget->item(row,COLUMN_GROUPS)->setBackground(QColor(183,236,181)) ;
connect(widget,SIGNAL(flagsChanged(FileStorageFlags)),this,SLOT(updateFlags())) ;