Code cosmetics

This commit is contained in:
Thorbjørn Lindeijer
2011-02-16 10:02:30 +01:00
parent 3179e4642c
commit 7741db1220
8 changed files with 23 additions and 28 deletions

View File

@@ -666,8 +666,7 @@ void InspectorUi::gotoObjectReferenceDefinition(const QDeclarativeDebugObjectRef
if (textEditor) {
QDeclarativeDebugObjectReference ref = objectReferenceForLocation(fileName);
if (ref.debugId() != obj.debugId())
{
if (ref.debugId() != obj.debugId()) {
m_selectionCallbackExpected = true;
editorManager->addCurrentPositionToNavigationHistory();
textEditor->gotoLine(source.lineNumber());
@@ -723,7 +722,7 @@ void InspectorUi::setupDockWidgets()
void InspectorUi::crumblePathElementClicked(int debugId)
{
QList <int> l;
QList<int> l;
l << debugId;
selectItems(l);
}