mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-07 00:45:11 -04:00
Upgraded desktop/{onionshare,tests} to PySide6
This commit is contained in:
parent
e129f73934
commit
fadba5506a
36 changed files with 139 additions and 89 deletions
|
@ -2,7 +2,7 @@ import sys
|
|||
import os
|
||||
from datetime import datetime, timedelta
|
||||
|
||||
from PySide2 import QtTest
|
||||
from PySide6 import QtTest
|
||||
|
||||
|
||||
# Force tests to look for resources in the source code tree
|
||||
|
@ -19,7 +19,7 @@ def qWait(t, qtapp):
|
|||
qtapp.processEvents()
|
||||
|
||||
|
||||
# Monkeypatch qWait, because PySide2 doesn't have it
|
||||
# Monkeypatch qWait, although PySide6 has it
|
||||
# https://stackoverflow.com/questions/17960159/qwait-analogue-in-pyside
|
||||
QtTest.QTest.qWait = qWait
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue