aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cvs/cvsplugin.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <[email protected]>2010-05-21 14:19:12 +0200
committerFriedemann Kleint <[email protected]>2010-05-21 14:19:12 +0200
commitc3bab519914449a203353031f658e9e73aa8f424 (patch)
tree8a5f950d3db66d7e753e5ff194906acae19450d2 /src/plugins/cvs/cvsplugin.cpp
parent8497bb3ba45cc3e3f1c7b4b269e045a613fb8414 (diff)
VCS[CVS]: Fix crash when describing a change.
Diffstat (limited to 'src/plugins/cvs/cvsplugin.cpp')
-rw-r--r--src/plugins/cvs/cvsplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cvs/cvsplugin.cpp b/src/plugins/cvs/cvsplugin.cpp
index 1f7e646fe1d..147c522ab58 100644
--- a/src/plugins/cvs/cvsplugin.cpp
+++ b/src/plugins/cvs/cvsplugin.cpp
@@ -956,7 +956,7 @@ bool CVSPlugin::describe(const QString &repositoryPath,
const QString title = QString::fromLatin1("cvs describe %1").arg(commitId);
Core::IEditor *newEditor = showOutputInEditor(title, output, VCSBase::DiffOutput, entries.front().file, codec);
newEditor->setProperty("describeChange", commitId);
- setDiffBaseDirectory(editor, repositoryPath);
+ setDiffBaseDirectory(newEditor, repositoryPath);
}
return true;
}