mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-06-14 17:04:33 +12:00
Fix corkView background image on Windows
Windows path to the image has '\' path separator instead of '/' which makes the stylesheet fail. Background images don't appear and console gets spammed with : Could not parse stylesheet of object corkView(0x27248eb6900, name = "corkView")
This commit is contained in:
parent
c3c9eef415
commit
7928ea2796
|
@ -36,7 +36,7 @@ class corkView(QListView, dndView, outlineBasics):
|
||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
}}""".format(
|
}}""".format(
|
||||||
color=settings.corkBackground["color"],
|
color=settings.corkBackground["color"],
|
||||||
url=img
|
url=img.replace("\\", "/")
|
||||||
))
|
))
|
||||||
|
|
||||||
def dragMoveEvent(self, event):
|
def dragMoveEvent(self, event):
|
||||||
|
|
Loading…
Reference in a new issue