summaryrefslogtreecommitdiff
path: root/src/pluginlist.cpp
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2021-01-01 12:24:57 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2021-01-02 15:38:18 +0100
commite02ba3b26d30ffb5010394992c69e94b287eacd7 (patch)
tree7b24f7a0654cf19246bf4e2f0e1afaedc86042de /src/pluginlist.cpp
parent73b4a590ca4403b0c07590f426f9b962c4c0ec6a (diff)
Some cleaning. Avoid using Qt::UserRole.
Diffstat (limited to 'src/pluginlist.cpp')
-rw-r--r--src/pluginlist.cpp2
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);