Commit 0a23a491 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Port deprecated QColor::dark -> QColor::darker

parent c54408c5
......@@ -329,7 +329,7 @@ KTextEditor::Attribute::Ptr CodeHighlighting::attributeForDepth(int depth) const
{
while (depth >= m_depthAttributes.count()) {
KTextEditor::Attribute::Ptr a(new KTextEditor::Attribute());
a->setBackground(QColor(Qt::white).dark(100 + (m_depthAttributes.count() * 25)));
a->setBackground(QColor(Qt::white).darker(100 + (m_depthAttributes.count() * 25)));
a->setBackgroundFillWhitespace(true);
if (depth % 2)
a->setOutline(Qt::red);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment