Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Desktop
Commits
b1523435
Verified
Commit
b1523435
authored
Jan 27, 2022
by
ivan tkachenko
Browse files
applets/taskmanager: Fix indentation
GIT_SILENT
parent
16bf6728
Changes
2
Hide whitespace changes
Inline
Side-by-side
applets/taskmanager/package/contents/ui/ContextMenu.qml
View file @
b1523435
...
...
@@ -278,7 +278,7 @@ PlasmaComponents.ContextMenu {
onClicked
:
tasksModel
.
requestNewInstance
(
modelIndex
)
}
PlasmaComponents.MenuItem
{
PlasmaComponents.MenuItem
{
id
:
virtualDesktopsMenuItem
visible
:
virtualDesktopInfo
.
numberOfDesktops
>
1
...
...
applets/taskmanager/package/contents/ui/TaskList.qml
View file @
b1523435
...
...
@@ -13,10 +13,11 @@ Flow {
readonly
property
bool
tasksGrowInOppositeDirection
:
plasmoid
.
configuration
.
reverseMode
readonly
property
bool
isHorizontalPanel
:
plasmoid
.
formFactor
===
PlasmaCore
.
Types
.
Horizontal
layoutDirection
:
(
tasksGrowInOppositeDirection
&&
isHorizontalPanel
)
?
Qt
.
application
.
layoutDirection
===
Qt
.
LeftToRight
?
Qt
.
RightToLeft
:
Qt
.
LeftToRight
:
Qt
.
application
.
layoutDirection
layoutDirection
:
(
tasksGrowInOppositeDirection
&&
isHorizontalPanel
)
?
(
Qt
.
application
.
layoutDirection
===
Qt
.
LeftToRight
)
?
Qt
.
RightToLeft
:
Qt
.
LeftToRight
:
Qt
.
application
.
layoutDirection
property
int
rows
:
Math
.
floor
(
height
/
children
[
0
].
height
)
property
int
columns
:
Math
.
floor
(
width
/
children
[
0
].
width
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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