diff --git a/YACReaderLibrary/qml/FlowView.qml b/YACReaderLibrary/qml/FlowView.qml index 7a54cfb5..cb258221 100644 --- a/YACReaderLibrary/qml/FlowView.qml +++ b/YACReaderLibrary/qml/FlowView.qml @@ -124,7 +124,7 @@ Rectangle { samples: 17 color: "#BB000000" source: coverElement - visible: (Qt.platform.os === "osx") ? false : true; + visible: useDropShadows; } Image { diff --git a/YACReaderLibrary/theme.h b/YACReaderLibrary/theme.h index 514e4f31..50909d7f 100644 --- a/YACReaderLibrary/theme.h +++ b/YACReaderLibrary/theme.h @@ -283,6 +283,8 @@ public: ctxt->setContextProperty("readTickUncheckedColor", infoViewReadTickUncheckedColor); ctxt->setContextProperty("readTickCheckedColor", infoViewReadTickCheckedColor); + + ctxt->setContextProperty("useDropShadows",useDropShadows); } bool isMacosNative;