aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/git/gitclient.h
diff options
context:
space:
mode:
authorYuchen Deng <[email protected]>2012-01-10 00:15:50 +0800
committerTobias Hunger <[email protected]>2012-01-11 15:36:16 +0100
commit58f8d43fff702dd25a4103bee741bfc0de43a87d (patch)
tree8a9e0b5d6d59bad9b27d5f9aaa0b57d036f37d4e /src/plugins/git/gitclient.h
parent62afcd67421f477a81fde59882575d0ac17936bd (diff)
Git: Fix error encoding if the source file not exist
Change-Id: Ia98195f966e79d65f1947c638cb9aacfb9b2f309 Reviewed-by: Tobias Hunger <[email protected]>
Diffstat (limited to 'src/plugins/git/gitclient.h')
-rw-r--r--src/plugins/git/gitclient.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/git/gitclient.h b/src/plugins/git/gitclient.h
index 3746b420cc4..c2375287993 100644
--- a/src/plugins/git/gitclient.h
+++ b/src/plugins/git/gitclient.h
@@ -233,6 +233,7 @@ private slots:
void slotBlameRevisionRequested(const QString &source, QString change, int lineNumber);
private:
+ QTextCodec *getSourceCodec(const QString &file) const;
VcsBase::VcsBaseEditorWidget *findExistingVCSEditor(const char *registerDynamicProperty,
const QString &dynamicPropertyValue) const;
enum CodecType { CodecSource, CodecLogOutput, CodecNone };