Enables again alternate row color in the activity list.

Signed-off-by: Camila San <hello@camila.codes>
This commit is contained in:
Camila San 2018-07-30 21:33:57 +02:00
parent 524a3d4c6a
commit a149660ae9
No known key found for this signature in database
GPG key ID: 7A4A6121E88E2AD4

View file

@ -69,7 +69,7 @@ ActivityWidget::ActivityWidget(AccountState *accountState, QWidget *parent)
delegate->setParent(this); delegate->setParent(this);
_ui->_activityList->setItemDelegate(delegate); _ui->_activityList->setItemDelegate(delegate);
_ui->_activityList->setBackgroundRole(QPalette::Background); _ui->_activityList->setBackgroundRole(QPalette::Background);
_ui->_activityList->setAlternatingRowColors(false); _ui->_activityList->setAlternatingRowColors(true);
_ui->_activityList->setModel(_model); _ui->_activityList->setModel(_model);
showLabels(); showLabels();