forked from qt-creator/qt-creator
Added categories for occurrences and for renaming occurrences
So they can be adapted in the color schemes.
This commit is contained in:
@@ -190,6 +190,10 @@ QColor FormatDescription::background() const
|
||||
} else if (m_name == QLatin1String(Constants::C_SELECTION)) {
|
||||
const QPalette palette = QApplication::palette();
|
||||
return palette.color(QPalette::Highlight);
|
||||
} else if (m_name == QLatin1String(Constants::C_OCCURRENCES)) {
|
||||
return QColor(220, 220, 220);
|
||||
} else if (m_name == QLatin1String(Constants::C_OCCURRENCES_RENAME)) {
|
||||
return QColor(255, 200, 200);
|
||||
}
|
||||
return QColor(); // invalid color
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user