forked from qt-creator/qt-creator
Fix some clang warnings about unused lambda captures
There are more, but we need to keep those because MSVC believes they are required. This is the subset that satisifies both compilers. Change-Id: I0b0a63d5496acc119a7f0513d3a1da0b76fa1fca Reviewed-by: hjk <hjk@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -488,7 +488,7 @@ void DesignDocument::paste()
|
||||
}
|
||||
}
|
||||
|
||||
rewriterView()->executeInTransaction("DesignDocument::paste1", [this, &view, selectedNodes, targetNode](){
|
||||
rewriterView()->executeInTransaction("DesignDocument::paste1", [&view, selectedNodes, targetNode](){
|
||||
QList<ModelNode> pastedNodeList;
|
||||
|
||||
int offset = double(qrand()) / RAND_MAX * 20 - 10;
|
||||
|
||||
Reference in New Issue
Block a user