summaryrefslogtreecommitdiff
path: root/src/plugins/cvs/cvscontrol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cvs/cvscontrol.cpp')
-rw-r--r--src/plugins/cvs/cvscontrol.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/cvs/cvscontrol.cpp b/src/plugins/cvs/cvscontrol.cpp
index e4ddcfd380..87fdc2cf24 100644
--- a/src/plugins/cvs/cvscontrol.cpp
+++ b/src/plugins/cvs/cvscontrol.cpp
@@ -148,7 +148,8 @@ bool CvsControl::vcsRemoveSnapshot(const QString &, const QString &)
bool CvsControl::vcsAnnotate(const QString &file, int line)
{
- m_plugin->vcsAnnotate(file, QString(), line);
+ const QFileInfo fi(file);
+ m_plugin->vcsAnnotate(fi.absolutePath(), fi.fileName(), QString(), line);
return true;
}