Remove more old MPalette stuff

This commit is contained in:
Carl Schwan
2020-11-17 11:21:56 +01:00
parent d9218b203d
commit 8e52f645a2
7 changed files with 18 additions and 104 deletions

View File

@@ -12,7 +12,6 @@ import NeoChat.Component 1.0
import NeoChat.Component.Emoji 1.0
import NeoChat.Dialog 1.0
import NeoChat.Effect 1.0
import NeoChat.Setting 1.0
import org.kde.neochat 1.0
@@ -121,7 +120,7 @@ ToolBar {
background: Rectangle {
visible: !isEmoji
color: highlighted ? border.color : "transparent"
border.color: isEmoji ? MPalette.accent : modelData.color
border.color: isEmoji ? Kirigami.Theme.focusColor : modelData.color
border.width: 2
radius: height / 2
}