Task, adjust line numbers while editing

Change-Id: Id2aa3b6f25a17416bb8ea601b6f5dd0de45f5375
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Daniel Teske
2012-02-03 16:07:13 +01:00
parent 530ad93d18
commit d7b0ceac8a
10 changed files with 102 additions and 11 deletions

View File

@@ -66,7 +66,7 @@ void VcsAnnotateTaskHandler::handle(const ProjectExplorer::Task &task)
Core::IVersionControl *vc = Core::ICore::vcsManager()->findVersionControlForDirectory(fi.absolutePath());
Q_ASSERT(vc);
Q_ASSERT(vc->supportsOperation(Core::IVersionControl::AnnotateOperation));
vc->vcsAnnotate(fi.absoluteFilePath(), task.line);
vc->vcsAnnotate(fi.absoluteFilePath(), task.movedLine);
}
QAction *VcsAnnotateTaskHandler::createAction(QObject *parent)