Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
L
Lichtsteuerung
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
21
Issues
21
List
Boards
Labels
Service Desk
Milestones
Iterations
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Insights
Issue
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
Leander Schulten
Lichtsteuerung
Commits
115334d1
Commit
115334d1
authored
Mar 24, 2020
by
Leander Schulten
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Build: in controlitemdata.cpp a variable was not captured in a lambda (but it worked on clang)
parent
0bf96ffc
Pipeline
#259282
passed with stage
in 11 minutes and 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/gui/controlitemdata.cpp
src/gui/controlitemdata.cpp
+2
-2
No files found.
src/gui/controlitemdata.cpp
View file @
115334d1
...
...
@@ -378,7 +378,7 @@ void DimmerGroupControlItemData::initRemoteProperties() {
[
this
]()
{
propertyChangedForRemote
(
"canEditMinMaxMapping"
,
UserManagment
::
get
()
->
getCurrentUser
()
->
havePermission
(
UserManagment
::
CHANGE_MIN_MAX_MAPPING
)
?
"true"
:
"false"
);
});
const
auto
&
mE
=
DMX
::
DMXChannelFilter
::
operationMetaEnum
;
setRemotePropertyChangeCallback
(
"maxOperation"
,
[
this
](
const
QString
&
s
)
{
setRemotePropertyChangeCallback
(
"maxOperation"
,
[
this
,
mE
](
const
QString
&
s
)
{
if
(
UserManagment
::
get
()
->
getCurrentUser
()
->
havePermission
(
UserManagment
::
CHANGE_MIN_MAX_MAPPING
))
{
auto
data
=
s
.
toUtf8
();
auto
v
=
mE
.
keyToValue
(
data
.
data
());
...
...
@@ -389,7 +389,7 @@ void DimmerGroupControlItemData::initRemoteProperties() {
}
propertyChangedForRemote
(
"maxOperation"
,
mE
.
valueToKey
(
maxOperation
));
});
setRemotePropertyChangeCallback
(
"minOperation"
,
[
this
](
const
QString
&
s
)
{
setRemotePropertyChangeCallback
(
"minOperation"
,
[
this
,
mE
](
const
QString
&
s
)
{
if
(
UserManagment
::
get
()
->
getCurrentUser
()
->
havePermission
(
UserManagment
::
CHANGE_MIN_MAX_MAPPING
))
{
auto
data
=
s
.
toUtf8
();
auto
v
=
mE
.
keyToValue
(
data
.
data
());
...
...
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