eric7/UI/Previewers/PreviewerQSS.py

branch
eric7
changeset 8884
74a7c9c7d424
parent 8881
54e42bc2437a
equal deleted inserted replaced
8883:35476abcb319 8884:74a7c9c7d424
123 # default ist the 'StyleIcons' subdirectory of the 123 # default ist the 'StyleIcons' subdirectory of the
124 # icons directory 124 # icons directory
125 styleIconsPath = os.path.join( 125 styleIconsPath = os.path.join(
126 getConfig('ericIconDir'), "StyleIcons") 126 getConfig('ericIconDir'), "StyleIcons")
127 127
128 styleIconsPath = Utilities.fromNativeSeparators( 128 styleIconsPath = Utilities.fromNativeSeparators(
129 styleIconsPath) 129 styleIconsPath)
130 styleSheet = styleSheet.replace("${path}", styleIconsPath) 130 styleSheet = styleSheet.replace("${path}", styleIconsPath)
131 self.scrollAreaWidgetContents.setStyleSheet(styleSheet) 131 self.scrollAreaWidgetContents.setStyleSheet(styleSheet)
132 else: 132 else:
133 self.scrollAreaWidgetContents.setStyleSheet("") 133 self.scrollAreaWidgetContents.setStyleSheet("")

eric ide

mercurial