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.titleChanged.connect(self._titleChanged_handler)
|
||||
# FIXME sometimes this doesn't load
|
||||
tab.show()
|
||||
tab.open_tab.connect(self.tabopen)
|
||||
tab.openurl(url)
|
||||
|
||||
@ -443,7 +444,6 @@ class BrowserTab(QWebView):
|
||||
self.installEventFilter(self)
|
||||
self.linkClicked.connect(self.link_handler)
|
||||
# FIXME find some way to hide scrollbars without setScrollBarPolicy
|
||||
self.show()
|
||||
|
||||
def openurl(self, url):
|
||||
"""Open an URL in the browser.
|
||||
|
@ -69,7 +69,6 @@ class CrashDialog(QDialog):
|
||||
hbox.addWidget(btn_restore)
|
||||
|
||||
vbox.addLayout(hbox)
|
||||
self.show()
|
||||
|
||||
def _crash_info(self, pages, cmdhist, exc):
|
||||
"""Gather crash information to display."""
|
||||
|
Loading…
Reference in New Issue
Block a user