forked from qt-creator/qt-creator
Fix warnings about unused lambda captures
Change-Id: Ib9bcf180fd8ceffbf88836a62fc9532e6f7fc656 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -2015,7 +2015,7 @@ bool BreakHandler::contextMenuEvent(const ItemViewEvent &ev)
|
||||
? locationsEnabled ? tr("Disable Selected Locations") : tr("Enable Selected Locations")
|
||||
: locationsEnabled ? tr("Disable Location") : tr("Enable Location"),
|
||||
!selectedLocations.isEmpty() && handlesIndividualLocations,
|
||||
[this, selectedLocations, locationsEnabled] {
|
||||
[selectedLocations, locationsEnabled] {
|
||||
for (LocationItem *location : selectedLocations) {
|
||||
location->params.enabled = !locationsEnabled;
|
||||
location->update();
|
||||
|
||||
Reference in New Issue
Block a user