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:
Youness Alaoui 2019-02-21 19:53:37 -05:00 committed by Curtis Gedak
parent c3c9eef415
commit 7928ea2796

View file

@ -36,7 +36,7 @@ class corkView(QListView, dndView, outlineBasics):
background-attachment: fixed;
}}""".format(
color=settings.corkBackground["color"],
url=img
url=img.replace("\\", "/")
))
def dragMoveEvent(self, event):