aboutsummaryrefslogtreecommitdiff
path: root/desktop/onionshare/widgets.py
diff options
context:
space:
mode:
authorNoisyCoil <noisycoil@tutanota.com>2022-10-23 14:09:56 +0200
committerNoisyCoil <noisycoil@tutanota.com>2022-10-23 14:09:56 +0200
commitfadba5506a0b82cf331a106bcccff6478a3fd32d (patch)
tree299e7bfec7ecc0d8403f1719142b9a159b060767 /desktop/onionshare/widgets.py
parente129f739342843468fc3d14a6503ff0acb8ca436 (diff)
downloadonionshare-fadba5506a0b82cf331a106bcccff6478a3fd32d.tar.gz
onionshare-fadba5506a0b82cf331a106bcccff6478a3fd32d.zip
Upgraded desktop/{onionshare,tests} to PySide6
Diffstat (limited to 'desktop/onionshare/widgets.py')
-rw-r--r--desktop/onionshare/widgets.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/onionshare/widgets.py b/desktop/onionshare/widgets.py
index 64a07703..e96f3dd9 100644
--- a/desktop/onionshare/widgets.py
+++ b/desktop/onionshare/widgets.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 PySide2 import QtCore, QtWidgets, QtGui
+from PySide6 import QtCore, QtWidgets, QtGui
import qrcode
from . import strings
@@ -52,7 +52,7 @@ class Alert(QtWidgets.QMessageBox):
self.setStandardButtons(buttons)
if autostart:
- self.exec_()
+ self.exec()
class AddFileDialog(QtWidgets.QFileDialog):
@@ -153,4 +153,4 @@ class QRCodeDialog(QtWidgets.QDialog):
layout.addWidget(self.qr_label_title)
layout.addWidget(self.qr_label)
- self.exec_()
+ self.exec()