Skip to content

Commit

Permalink
Merge pull request #49 from andfoy/fix_qt58_compatibility
Browse files Browse the repository at this point in the history
PR: Removed reference to contentsChanged signal
  • Loading branch information
andfoy committed May 6, 2017
2 parents 2632f39 + 576fdbb commit f2973cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion spyder_terminal/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
if PYQT5:
from .terminalplugin import TerminalPlugin as PLUGIN_CLASS

VERSION_INFO = (0, 1, 0)
VERSION_INFO = (0, 1, 1)
__version__ = '.'.join(map(str, VERSION_INFO))
7 changes: 0 additions & 7 deletions spyder_terminal/widgets/terminalgui.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,6 @@ def __init__(self, parent, port, path='~', font=None):

self.font_setup = False
self.view.page().loadFinished.connect(self.setup_term)
self.view.page().contentsChanged.connect(self.contents_modified)

def contents_modified(self):
"""Adjust font size after terminal rendering."""
if not self.font_setup:
self.set_font(self.font)
self.font_setup = True

@Slot(bool)
def setup_term(self, finished):
Expand Down

0 comments on commit f2973cf

Please sign in to comment.