diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-01 12:24:57 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-02 15:38:18 +0100 |
| commit | e02ba3b26d30ffb5010394992c69e94b287eacd7 (patch) | |
| tree | 7b24f7a0654cf19246bf4e2f0e1afaedc86042de /src/pluginlist.cpp | |
| parent | 73b4a590ca4403b0c07590f426f9b962c4c0ec6a (diff) | |
Some cleaning. Avoid using Qt::UserRole.
Diffstat (limited to 'src/pluginlist.cpp')
| -rw-r--r-- | src/pluginlist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pluginlist.cpp b/src/pluginlist.cpp index 4d648a46..9e101f84 100644 --- a/src/pluginlist.cpp +++ b/src/pluginlist.cpp @@ -990,7 +990,7 @@ QVariant PluginList::data(const QModelIndex &modelIndex, int role) const return checkstateData(modelIndex);
} else if (role == Qt::ForegroundRole) {
return foregroundData(modelIndex);
- } else if (role == Qt::BackgroundRole || (role == ViewMarkingScrollBar::DEFAULT_ROLE)) {
+ } else if (role == Qt::BackgroundRole) {
return backgroundData(modelIndex);
} else if (role == Qt::FontRole) {
return fontData(modelIndex);
|
