Merge remote-tracking branch 'origin/4.8'

Conflicts:
	tests/unit/unittest/unittest.pro

Change-Id: I4f0ab05f96ee60900a3a35fad4c7331238367593
This commit is contained in:
Eike Ziller
2018-11-09 13:30:40 +01:00
153 changed files with 3881 additions and 2057 deletions

View File

@@ -421,7 +421,7 @@ void Manager::onDocumentUpdated(CPlusPlus::Document::Ptr doc)
/*!
Opens the text editor for the file \a fileName on \a line (1-based) and
\a column (1-based).
\a column (0-based).
*/
void Manager::gotoLocation(const QString &fileName, int line, int column)
@@ -466,7 +466,8 @@ void Manager::gotoLocations(const QList<QVariant> &list)
}
}
}
gotoLocation(loc.fileName(), loc.line(), loc.column());
// line is 1-based, column is 0-based
gotoLocation(loc.fileName(), loc.line(), loc.column() - 1);
}
/*!