mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-02 09:35:33 -05:00
Added missing line to desktop/onionshare/gui_common.py
This commit is contained in:
parent
fadba5506a
commit
7936cb85be
@ -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…
x
Reference in New Issue
Block a user