diff options
author | Micah Lee <micah@micahflee.com> | 2022-02-13 15:33:13 -0800 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2022-02-13 15:33:13 -0800 |
commit | 02503842807311320ec00fc65e98706c6d225352 (patch) | |
tree | 89c1daa92c1c134e81b354b2d33f952d8aeeb7b8 /desktop/onionshare/tab_widget.py | |
parent | e168080b77c1ec7ba40022a106a43d524e227945 (diff) | |
download | onionshare-02503842807311320ec00fc65e98706c6d225352.tar.gz onionshare-02503842807311320ec00fc65e98706c6d225352.zip |
Add rocket ship animation
Diffstat (limited to 'desktop/onionshare/tab_widget.py')
-rw-r--r-- | desktop/onionshare/tab_widget.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/desktop/onionshare/tab_widget.py b/desktop/onionshare/tab_widget.py index 29f443ac..4892b15f 100644 --- a/desktop/onionshare/tab_widget.py +++ b/desktop/onionshare/tab_widget.py @@ -38,13 +38,14 @@ class TabWidget(QtWidgets.QTabWidget): bring_to_front = QtCore.Signal() - def __init__(self, common, system_tray, status_bar): + def __init__(self, common, system_tray, status_bar, window): super(TabWidget, self).__init__() self.common = common self.common.log("TabWidget", "__init__") self.system_tray = system_tray self.status_bar = status_bar + self.window = window # Keep track of tabs in a dictionary that maps tab_id to tab. # Each tab has a unique, auto-incremented id (tab_id). This is different than the @@ -219,7 +220,7 @@ class TabWidget(QtWidgets.QTabWidget): return connection_tab = AutoConnectTab( - self.common, self.current_tab_id, self.status_bar, parent=self + self.common, self.current_tab_id, self.status_bar, self.window, parent=self ) connection_tab.close_this_tab.connect(self.close_connection_tab) connection_tab.tor_is_connected.connect(self.tor_is_connected) |