-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
19d77ba
commit cc5abcb
Showing
1 changed file
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
"Mark Harviston <[email protected]>, " | ||
"Arve Knudsen <[email protected]>", | ||
) | ||
__version__ = "0.12.0" | ||
__version__ = "0.13.0" | ||
__url__ = "https://github.com/CabbageDevelopment/qasync" | ||
__license__ = "BSD" | ||
__all__ = ["QEventLoop", "QThreadExecutor", "asyncSlot", "asyncClose"] | ||
|
@@ -85,16 +85,19 @@ | |
if QtModuleName == "PyQt5": | ||
from PyQt5 import QtWidgets | ||
from PyQt5.QtCore import pyqtSlot as Slot | ||
|
||
QApplication = QtWidgets.QApplication | ||
|
||
elif QtModuleName == "PySide2": | ||
from PySide2 import QtWidgets | ||
from PySide2.QtCore import Slot | ||
|
||
QApplication = QtWidgets.QApplication | ||
|
||
elif QtModuleName == "PySide6": | ||
from PySide6 import QtWidgets | ||
from PySide6.QtCore import Slot | ||
|
||
QApplication = QtWidgets.QApplication | ||
|
||
from ._common import with_logger # noqa | ||
|