aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/showineditortaskhandler.cpp
diff options
context:
space:
mode:
authordt <qtc-committer@nokia.com>2010-09-03 11:57:46 +0200
committerdt <qtc-committer@nokia.com>2010-09-06 13:56:53 +0200
commitbde1ebaaea85e460f0cba7240af06e714b387acb (patch)
treea4fde6f8253462ad7facba22147a16677387df83 /src/plugins/projectexplorer/showineditortaskhandler.cpp
parent0e2a7608f2da6e32fdfe3e12ea1af164bb28807e (diff)
Remove EditorManager::ensureEditorManagerVisible()
The function always switched to Edit Mode, which was the cause for several bugs. Since openEditor() already does switch to the right mode, the function is not really needed. The following actions now respect the prefered mode of the editor: "f file"-locator The Open Documents list Editor history navigation
Diffstat (limited to 'src/plugins/projectexplorer/showineditortaskhandler.cpp')
-rw-r--r--src/plugins/projectexplorer/showineditortaskhandler.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/showineditortaskhandler.cpp b/src/plugins/projectexplorer/showineditortaskhandler.cpp
index 8783bcd7c0..fce46a94c5 100644
--- a/src/plugins/projectexplorer/showineditortaskhandler.cpp
+++ b/src/plugins/projectexplorer/showineditortaskhandler.cpp
@@ -56,7 +56,6 @@ void ShowInEditorTaskHandler::handle(const ProjectExplorer::Task &task)
{
QFileInfo fi(task.file);
TextEditor::BaseTextEditor::openEditorAt(fi.canonicalFilePath(), task.line);
- Core::EditorManager::instance()->ensureEditorManagerVisible();
}
QAction *ShowInEditorTaskHandler::createAction(QObject *parent)