Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KScreen
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Plasma
KScreen
Commits
2970915c
Commit
2970915c
authored
Mar 09, 2019
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warning (== vs ===)
parent
82772aba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
kcm/qml/Output.qml
kcm/qml/Output.qml
+5
-5
No files found.
kcm/qml/Output.qml
View file @
2970915c
...
...
@@ -63,11 +63,11 @@ QMLOutput {
opacity
:
root
.
output
.
enabled
?
1.0
:
0.5
;
transformOrigin
:
Item
.
Center
;
rotation
:
{
if
(
output
.
rotation
==
KScreenOutput
.
None
)
{
if
(
output
.
rotation
==
=
KScreenOutput
.
None
)
{
return
0
;
}
else
if
(
output
.
rotation
==
KScreenOutput
.
Left
)
{
}
else
if
(
output
.
rotation
==
=
KScreenOutput
.
Left
)
{
return
270
;
}
else
if
(
output
.
rotation
==
KScreenOutput
.
Inverted
)
{
}
else
if
(
output
.
rotation
==
=
KScreenOutput
.
Inverted
)
{
return
180
;
}
else
{
return
90
;
...
...
@@ -209,7 +209,7 @@ QMLOutput {
id
:
nameLabel
text
:
if
(
root
.
isCloneMode
===
true
)
{
return
""
;
}
else
if
(
root
.
output
.
type
!=
KScreenOutput
.
Panel
&&
root
.
output
.
edid
&&
root
.
output
.
edid
.
name
)
{
}
else
if
(
root
.
output
.
type
!=
=
KScreenOutput
.
Panel
&&
root
.
output
.
edid
&&
root
.
output
.
edid
.
name
)
{
return
root
.
output
.
edid
.
name
;
}
else
{
return
""
;
...
...
@@ -229,7 +229,7 @@ QMLOutput {
id
:
labelVendor
;
text
:
if
(
root
.
isCloneMode
)
{
return
i18n
(
"
Unified Outputs
"
);
}
else
if
(
root
.
output
.
type
==
KScreenOutput
.
Panel
)
{
}
else
if
(
root
.
output
.
type
==
=
KScreenOutput
.
Panel
)
{
return
i18n
(
"
Laptop Screen
"
);
}
else
if
(
root
.
output
.
edid
&&
root
.
output
.
edid
.
vendor
)
{
return
root
.
output
.
edid
.
vendor
;
...
...
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