Skip to content
Permalink
Browse files

Fix error with standardPixmap. signature requires QStyleOption

  • Loading branch information
lbartoletti authored and nyalldawson committed Sep 7, 2018
1 parent d8f0da8 commit 808963bfaeb209dccc959e9b11edf3ec027887c2
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/gui/ConfigDialog.py
@@ -113,9 +113,9 @@ def __init__(self, showSearch=True):

self.groupIcon = QIcon()
self.groupIcon.addPixmap(self.style().standardPixmap(
QStyle.SP_DirClosedIcon), QIcon.Normal, QIcon.Off)
QStyle.SP_DirClosedIcon, None), QIcon.Normal, QIcon.Off)
self.groupIcon.addPixmap(self.style().standardPixmap(
QStyle.SP_DirOpenIcon), QIcon.Normal, QIcon.On)
QStyle.SP_DirOpenIcon, None), QIcon.Normal, QIcon.On)

self.model = QStandardItemModel()
self.tree.setModel(self.model)

0 comments on commit 808963b

Please sign in to comment.
You can’t perform that action at this time.