diff options
author | Micah Lee <micah@micahflee.com> | 2020-10-13 22:28:21 -0700 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2020-10-13 22:28:21 -0700 |
commit | cb0494d46f3149f9219c342ea8b19416f9b7c9ac (patch) | |
tree | 6acc2b1fe3f079fb2dff7a23cb7d56e4a332e71f /desktop/src/onionshare/tab_widget.py | |
parent | b42f92d714145dcc6282773e61f68c00b4b79a28 (diff) | |
download | onionshare-cb0494d46f3149f9219c342ea8b19416f9b7c9ac.tar.gz onionshare-cb0494d46f3149f9219c342ea8b19416f9b7c9ac.zip |
Port from PyQt5 to PySide2
Diffstat (limited to 'desktop/src/onionshare/tab_widget.py')
-rw-r--r-- | desktop/src/onionshare/tab_widget.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/src/onionshare/tab_widget.py b/desktop/src/onionshare/tab_widget.py index 911fbc2e..452b56bb 100644 --- a/desktop/src/onionshare/tab_widget.py +++ b/desktop/src/onionshare/tab_widget.py @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. """ -from PyQt5 import QtCore, QtWidgets, QtGui +from PySide2 import QtCore, QtWidgets, QtGui from onionshare_cli.mode_settings import ModeSettings @@ -33,7 +33,7 @@ class TabWidget(QtWidgets.QTabWidget): A custom tab widget, that has a "+" button for adding new tabs """ - bring_to_front = QtCore.pyqtSignal() + bring_to_front = QtCore.Signal() def __init__(self, common, system_tray, status_bar): super(TabWidget, self).__init__() @@ -259,7 +259,7 @@ class TabBar(QtWidgets.QTabBar): A custom tab bar """ - move_new_tab_button = QtCore.pyqtSignal() + move_new_tab_button = QtCore.Signal() def __init__(self): super(TabBar, self).__init__() |