Remove check based on the os instead of theme.

This commit is contained in:
Luis Ángel San Martín 2018-09-14 09:38:16 +02:00 committed by Luis Ángel San Martín
parent 78c1b56083
commit 7ce05f71c2
2 changed files with 3 additions and 1 deletions

View File

@ -124,7 +124,7 @@ Rectangle {
samples: 17 samples: 17
color: "#BB000000" color: "#BB000000"
source: coverElement source: coverElement
visible: (Qt.platform.os === "osx") ? false : true; visible: useDropShadows;
} }
Image { Image {

View File

@ -283,6 +283,8 @@ public:
ctxt->setContextProperty("readTickUncheckedColor", infoViewReadTickUncheckedColor); ctxt->setContextProperty("readTickUncheckedColor", infoViewReadTickUncheckedColor);
ctxt->setContextProperty("readTickCheckedColor", infoViewReadTickCheckedColor); ctxt->setContextProperty("readTickCheckedColor", infoViewReadTickCheckedColor);
ctxt->setContextProperty("useDropShadows",useDropShadows);
} }
bool isMacosNative; bool isMacosNative;