mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Removes alternate color on the rows of Activity Widget.
- Also fixes the click on each activity: the user had to click twice - one to select the row and then one click to open file manager or browser. Signed-off-by: Camila San <hello@camila.codes>
This commit is contained in:
parent
9cbf5aa783
commit
e9dbee0df5
@ -68,7 +68,7 @@ ActivityWidget::ActivityWidget(AccountState *accountState, QWidget *parent)
|
||||
ActivityItemDelegate *delegate = new ActivityItemDelegate;
|
||||
delegate->setParent(this);
|
||||
_ui->_activityList->setItemDelegate(delegate);
|
||||
_ui->_activityList->setAlternatingRowColors(true);
|
||||
_ui->_activityList->setAlternatingRowColors(false);
|
||||
_ui->_activityList->setModel(_model);
|
||||
|
||||
// Create a widget container for the notifications. The ui file defines
|
||||
|
||||
@ -50,6 +50,15 @@
|
||||
<property name="lineWidth">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="editTriggers">
|
||||
<set>QAbstractItemView::NoEditTriggers</set>
|
||||
</property>
|
||||
<property name="showDropIndicator" stdset="0">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="defaultDropAction">
|
||||
<enum>Qt::IgnoreAction</enum>
|
||||
</property>
|
||||
<property name="resizeMode">
|
||||
<enum>QListView::Adjust</enum>
|
||||
</property>
|
||||
@ -72,4 +81,4 @@
|
||||
</tabstops>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
</ui>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user