mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +03: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
2 changed files with 11 additions and 2 deletions
|
@ -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 a new issue