Skip to content

Commit

Permalink
try RTD fix: make QtWidget a subclass of logging.Handler
Browse files Browse the repository at this point in the history
  • Loading branch information
jborbely committed Aug 31, 2017
1 parent 1d310f5 commit fcecf4f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/mock_qtwidgets.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import logging

class QAbstractButton(object):
pass

Expand Down Expand Up @@ -568,7 +570,7 @@ class QVBoxLayout(object):
class QWhatsThis(object):
pass

class QWidget(object):
class QWidget(logging.Handler):
pass

class QWidgetAction(object):
Expand Down

0 comments on commit fcecf4f

Please sign in to comment.