summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/loggerwindow.py
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2014-08-06 16:25:49 -0300
committerTomás Touceda <chiiph@leap.se>2014-08-06 16:25:49 -0300
commit465c0b89ca61279eb036afec2de3b4d24b257311 (patch)
tree838ef2999e1540047c1b22b1641fa19f447aa6ab /src/leap/bitmask/gui/loggerwindow.py
parentaaec2c78dc0bf39d7d4b9ae930de9b7f95ae763c (diff)
parente6a7feeb93a27ef36d15dddcb45c2cc4812a37b0 (diff)
Merge remote-tracking branch 'refs/remotes/ivan/bug/logger-hangs-quit' into develop
Diffstat (limited to 'src/leap/bitmask/gui/loggerwindow.py')
-rw-r--r--src/leap/bitmask/gui/loggerwindow.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/bitmask/gui/loggerwindow.py b/src/leap/bitmask/gui/loggerwindow.py
index c4f44dd7..360dd5f0 100644
--- a/src/leap/bitmask/gui/loggerwindow.py
+++ b/src/leap/bitmask/gui/loggerwindow.py
@@ -40,14 +40,14 @@ class LoggerWindow(QtGui.QDialog):
_paste_ok = QtCore.Signal(object)
_paste_error = QtCore.Signal(object)
- def __init__(self, handler):
+ def __init__(self, parent, handler):
"""
Initialize the widget with the custom handler.
:param handler: Custom handler that supports history and signal.
:type handler: LeapLogHandler.
"""
- QtGui.QDialog.__init__(self)
+ QtGui.QDialog.__init__(self, parent)
leap_assert(handler, "We need a handler for the logger window")
leap_assert_type(handler, LeapLogHandler)