diff options
| author | Al12rs <gabriel.cortesi@outlook.com> | 2018-08-01 20:12:32 +0200 |
|---|---|---|
| committer | Al12rs <gabriel.cortesi@outlook.com> | 2018-08-01 20:12:32 +0200 |
| commit | 1ea43586d8eb304d8e91bf7f1480d7e4db5ef05f (patch) | |
| tree | 2776d6834b92fdc95b5b26ab43e9e743e10c1128 /src | |
| parent | fd51434e5ee9ef702eb904d0b77c937d6b147908 (diff) | |
| parent | 7eb4b33214279aeb97541344e1c20da2b8dd79ff (diff) | |
Merge branch 'Develop' of https://github.com/Modorganizer2/modorganizer into Develop
Diffstat (limited to 'src')
| -rw-r--r-- | src/modlist.cpp | 7 | ||||
| -rw-r--r-- | src/pluginlist.cpp | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/modlist.cpp b/src/modlist.cpp index e077a5ee..0d084c22 100644 --- a/src/modlist.cpp +++ b/src/modlist.cpp @@ -354,7 +354,6 @@ QVariant ModList::data(const QModelIndex &modelIndex, int role) const int highlight = modInfo->getHighlight();
if (highlight & ModInfo::HIGHLIGHT_IMPORTANT) return QBrush(Qt::darkRed);
else if (highlight & ModInfo::HIGHLIGHT_INVALID) return QBrush(Qt::darkGray);
- else if (highlight & ModInfo::HIGHLIGHT_PLUGIN) return QBrush(Qt::darkBlue);
} else if (column == COL_VERSION) {
if (!modInfo->getNewestVersion().isValid()) {
return QVariant();
@@ -368,11 +367,11 @@ QVariant ModList::data(const QModelIndex &modelIndex, int role) const } else if ((role == Qt::BackgroundRole)
|| (role == ViewMarkingScrollBar::DEFAULT_ROLE)) {
if (modInfo->getHighlight() & ModInfo::HIGHLIGHT_PLUGIN) {
- return QColor(0, 0, 255, 32);
+ return QColor(0, 0, 255, 64);
} else if (m_Overwrite.find(modIndex) != m_Overwrite.end()) {
- return QColor(0, 255, 0, 32);
+ return QColor(0, 255, 0, 64);
} else if (m_Overwritten.find(modIndex) != m_Overwritten.end()) {
- return QColor(255, 0, 0, 32);
+ return QColor(255, 0, 0, 64);
} else {
return QVariant();
}
diff --git a/src/pluginlist.cpp b/src/pluginlist.cpp index 76de436d..323cd98f 100644 --- a/src/pluginlist.cpp +++ b/src/pluginlist.cpp @@ -861,7 +861,7 @@ QVariant PluginList::data(const QModelIndex &modelIndex, int role) const } else if (role == Qt::BackgroundRole
|| (role == ViewMarkingScrollBar::DEFAULT_ROLE)) {
if (m_ESPs[index].m_ModSelected) {
- return QColor(0, 0, 255, 32);
+ return QColor(0, 0, 255, 64);
} else {
return QVariant();
}
|
