Skip to content

Commit

Permalink
Fix error with standardPixmap. signature requires QStyleOption
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti authored and nyalldawson committed Sep 7, 2018
1 parent d8f0da8 commit 808963b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/gui/ConfigDialog.py
Expand Up @@ -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)
Expand Down

0 comments on commit 808963b

Please sign in to comment.