aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/showineditortaskhandler.cpp
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@nokia.com>2012-02-03 16:07:13 +0100
committerDaniel Teske <daniel.teske@nokia.com>2012-02-14 12:43:22 +0100
commitd7b0ceac8a3959a6b055961cf915c9b697c31d46 (patch)
treea572ea88066dd377b2ae856e0d444760792cbea9 /src/plugins/projectexplorer/showineditortaskhandler.cpp
parent530ad93d18ba8b695e7c548206067a727820299e (diff)
Task, adjust line numbers while editing
Change-Id: Id2aa3b6f25a17416bb8ea601b6f5dd0de45f5375 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'src/plugins/projectexplorer/showineditortaskhandler.cpp')
-rw-r--r--src/plugins/projectexplorer/showineditortaskhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/showineditortaskhandler.cpp b/src/plugins/projectexplorer/showineditortaskhandler.cpp
index 1ac6b7ec404..7b260171257 100644
--- a/src/plugins/projectexplorer/showineditortaskhandler.cpp
+++ b/src/plugins/projectexplorer/showineditortaskhandler.cpp
@@ -57,7 +57,7 @@ bool ShowInEditorTaskHandler::canHandle(const ProjectExplorer::Task &task)
void ShowInEditorTaskHandler::handle(const ProjectExplorer::Task &task)
{
QFileInfo fi(task.file.toFileInfo());
- TextEditor::BaseTextEditorWidget::openEditorAt(fi.canonicalFilePath(), task.line);
+ TextEditor::BaseTextEditorWidget::openEditorAt(fi.canonicalFilePath(), task.movedLine);
}
QAction *ShowInEditorTaskHandler::createAction(QObject *parent)