mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-24 10:07:39 -03:00
Added missing line to desktop/onionshare/gui_common.py
This commit is contained in:
parent
fadba5506a
commit
7936cb85be
1 changed files with 1 additions and 0 deletions
|
@ -602,6 +602,7 @@ class ToggleCheckbox(QtWidgets.QCheckBox):
|
|||
painter.setRenderHint(QtGui.QPainter.Antialiasing)
|
||||
painter.setPen(QtCore.Qt.NoPen)
|
||||
opt = QtWidgets.QStyleOptionButton()
|
||||
opt.initFrom(self)
|
||||
self.initStyleOption(opt)
|
||||
s = self.style()
|
||||
s.drawControl(QtWidgets.QStyle.CE_CheckBox, opt, painter, self)
|
||||
|
|
Loading…
Add table
Reference in a new issue