forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/8.0'
Change-Id: Id95539a7eb3ab68b8c387664b430576e37b68ac4
This commit is contained in:
@@ -43,7 +43,7 @@ namespace Internal {
|
||||
QSet<SymbolLocation> roleToLocations(const QList<QVariant> &locationsVar)
|
||||
{
|
||||
QSet<SymbolLocation> locations;
|
||||
foreach (const QVariant &loc, locationsVar) {
|
||||
for (const QVariant &loc : locationsVar) {
|
||||
if (loc.canConvert<SymbolLocation>())
|
||||
locations.insert(loc.value<SymbolLocation>());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user