aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/mercurial/annotationhighlighter.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2012-03-06 14:32:32 +0100
committerTobias Hunger <tobias.hunger@nokia.com>2012-03-06 14:34:01 +0100
commit4b366303e65f15511200d6996d02315973e68f75 (patch)
tree484e059a396cd4c0d1213db3e1db4de86f4b7fc0 /src/plugins/mercurial/annotationhighlighter.cpp
parent5e365686287d39c6bec414de6bba91ad3fb0e5fa (diff)
VCS: Make dark color schemes work with annotation highlighter
Task-number: QTCREATORBUG-6257 Change-Id: Ied01cf6773b5114100afccbac33f359cc72c0889 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'src/plugins/mercurial/annotationhighlighter.cpp')
-rw-r--r--src/plugins/mercurial/annotationhighlighter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/mercurial/annotationhighlighter.cpp b/src/plugins/mercurial/annotationhighlighter.cpp
index 84003f3785..00e0b7257e 100644
--- a/src/plugins/mercurial/annotationhighlighter.cpp
+++ b/src/plugins/mercurial/annotationhighlighter.cpp
@@ -37,8 +37,9 @@ using namespace Mercurial::Internal;
using namespace Mercurial;
MercurialAnnotationHighlighter::MercurialAnnotationHighlighter(const ChangeNumbers &changeNumbers,
+ const QColor &bg,
QTextDocument *document)
- : VcsBase::BaseAnnotationHighlighter(changeNumbers, document),
+ : VcsBase::BaseAnnotationHighlighter(changeNumbers, bg, document),
changeset(QLatin1String(Constants::CHANGESETID12))
{
}