fix warnings, remove unused captured variables
This commit is contained in:
parent
8f7b2c9ae0
commit
e32d28e548
@ -52,13 +52,13 @@ ColorScope::ColorScope(QQuickItem *parent, QObject *parentObject)
|
||||
|
||||
if (parentObject && qobject_cast<QQuickItem *>(parentObject)) {
|
||||
connect(static_cast<QQuickItem *>(parentObject), &QQuickItem::windowChanged,
|
||||
this, [this, parentObject]() {
|
||||
this, [this]() {
|
||||
findParentScope();
|
||||
checkColorGroupChanged();
|
||||
});
|
||||
|
||||
connect(static_cast<QQuickItem *>(parentObject), &QQuickItem::parentChanged,
|
||||
this, [this, parentObject]() {
|
||||
this, [this]() {
|
||||
findParentScope();
|
||||
checkColorGroupChanged();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user