Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Akregator
Commits
f1fe20b7
Commit
f1fe20b7
authored
Mar 29, 2021
by
Luigi Baldoni
Committed by
Laurent Montel
Mar 30, 2021
Browse files
Apply changes on restart
parent
1698aa23
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/subscription/subscriptionlistview.cpp
View file @
f1fe20b7
...
...
@@ -126,7 +126,7 @@ Akregator::SubscriptionListView::SubscriptionListView(QWidget *parent)
setRootIsDecorated
(
false
);
setAlternatingRowColors
(
true
);
setContextMenuPolicy
(
Qt
::
CustomContextMenu
);
setDragDropMode
(
QAbstractItemView
::
DragDrop
);
setDragDropMode
(
Settings
::
lockFeedsInPlace
()
?
QAbstractItemView
::
NoDragDrop
:
QAbstractItemView
::
DragDrop
);
setDropIndicatorShown
(
true
);
setAcceptDrops
(
true
);
setUniformRowHeights
(
true
);
...
...
@@ -399,7 +399,7 @@ void SubscriptionListView::slotSetLockFeedsInPlace(bool setting)
return
;
}
setDragDropMode
(
setting
?
QAbstractItemView
::
NoDragDrop
:
QAbstractItemView
::
InternalMove
);
setDragDropMode
(
setting
?
QAbstractItemView
::
NoDragDrop
:
QAbstractItemView
::
DragDrop
);
Settings
::
setLockFeedsInPlace
(
setting
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment