aboutsummaryrefslogtreecommitdiff
path: root/desktop/src/onionshare/tor_connection_dialog.py
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2020-10-13 22:28:21 -0700
committerMicah Lee <micah@micahflee.com>2020-10-13 22:28:21 -0700
commitcb0494d46f3149f9219c342ea8b19416f9b7c9ac (patch)
tree6acc2b1fe3f079fb2dff7a23cb7d56e4a332e71f /desktop/src/onionshare/tor_connection_dialog.py
parentb42f92d714145dcc6282773e61f68c00b4b79a28 (diff)
downloadonionshare-cb0494d46f3149f9219c342ea8b19416f9b7c9ac.tar.gz
onionshare-cb0494d46f3149f9219c342ea8b19416f9b7c9ac.zip
Port from PyQt5 to PySide2
Diffstat (limited to 'desktop/src/onionshare/tor_connection_dialog.py')
-rw-r--r--desktop/src/onionshare/tor_connection_dialog.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/desktop/src/onionshare/tor_connection_dialog.py b/desktop/src/onionshare/tor_connection_dialog.py
index 7cd09eff..d5fa72a0 100644
--- a/desktop/src/onionshare/tor_connection_dialog.py
+++ b/desktop/src/onionshare/tor_connection_dialog.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.onion import *
@@ -32,7 +32,7 @@ class TorConnectionDialog(QtWidgets.QProgressDialog):
Connecting to Tor dialog.
"""
- open_settings = QtCore.pyqtSignal()
+ open_settings = QtCore.Signal()
def __init__(self, common, custom_settings=False):
super(TorConnectionDialog, self).__init__(None)
@@ -123,10 +123,10 @@ class TorConnectionDialog(QtWidgets.QProgressDialog):
class TorConnectionThread(QtCore.QThread):
- tor_status_update = QtCore.pyqtSignal(str, str)
- connected_to_tor = QtCore.pyqtSignal()
- canceled_connecting_to_tor = QtCore.pyqtSignal()
- error_connecting_to_tor = QtCore.pyqtSignal(str)
+ tor_status_update = QtCore.Signal(str, str)
+ connected_to_tor = QtCore.Signal()
+ canceled_connecting_to_tor = QtCore.Signal()
+ error_connecting_to_tor = QtCore.Signal(str)
def __init__(self, common, settings, dialog):
super(TorConnectionThread, self).__init__()