Skip to content

Commit c7337df

Browse files
committed
pyside6 only
1 parent 363305b commit c7337df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bcasl/executor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ def _maybe_init_qt_app(config: dict[str, Any]) -> None:
511511
from PySide6.QtWidgets import QApplication as _QApp # type: ignore
512512
except Exception:
513513
try:
514-
from PyQt5.QtWidgets import QApplication as _QApp # type: ignore
514+
from PySide6.QtWidgets import QApplication as _QApp # type: ignore
515515
except Exception:
516516
_QApp = None # type: ignore
517517
if _QApp is not None:
@@ -544,7 +544,7 @@ def __init__(self, *args, **kwargs) -> None:
544544
pass
545545
except Exception:
546546
try:
547-
from PyQt5 import QtWidgets as _QtW2 # type: ignore
547+
from PySide6 import QtWidgets as _QtW2 # type: ignore
548548

549549
class _NoDirectProgressDialog: # type: ignore
550550
def __init__(self, *args, **kwargs) -> None:

0 commit comments

Comments
 (0)