Remove unneeded self.show()s
This commit is contained in:
parent
c40346571a
commit
62f140cf88
@ -99,6 +99,7 @@ class TabbedBrowser(TabWidget):
|
|||||||
tab.urlChanged.connect(self._filter_factory(self.cur_url_changed))
|
tab.urlChanged.connect(self._filter_factory(self.cur_url_changed))
|
||||||
tab.titleChanged.connect(self._titleChanged_handler)
|
tab.titleChanged.connect(self._titleChanged_handler)
|
||||||
# FIXME sometimes this doesn't load
|
# FIXME sometimes this doesn't load
|
||||||
|
tab.show()
|
||||||
tab.open_tab.connect(self.tabopen)
|
tab.open_tab.connect(self.tabopen)
|
||||||
tab.openurl(url)
|
tab.openurl(url)
|
||||||
|
|
||||||
@ -443,7 +444,6 @@ class BrowserTab(QWebView):
|
|||||||
self.installEventFilter(self)
|
self.installEventFilter(self)
|
||||||
self.linkClicked.connect(self.link_handler)
|
self.linkClicked.connect(self.link_handler)
|
||||||
# FIXME find some way to hide scrollbars without setScrollBarPolicy
|
# FIXME find some way to hide scrollbars without setScrollBarPolicy
|
||||||
self.show()
|
|
||||||
|
|
||||||
def openurl(self, url):
|
def openurl(self, url):
|
||||||
"""Open an URL in the browser.
|
"""Open an URL in the browser.
|
||||||
|
@ -69,7 +69,6 @@ class CrashDialog(QDialog):
|
|||||||
hbox.addWidget(btn_restore)
|
hbox.addWidget(btn_restore)
|
||||||
|
|
||||||
vbox.addLayout(hbox)
|
vbox.addLayout(hbox)
|
||||||
self.show()
|
|
||||||
|
|
||||||
def _crash_info(self, pages, cmdhist, exc):
|
def _crash_info(self, pages, cmdhist, exc):
|
||||||
"""Gather crash information to display."""
|
"""Gather crash information to display."""
|
||||||
|
Loading…
Reference in New Issue
Block a user