mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-03-28 19:38:27 +01:00
refactor: move to qthemes 1.1.2
This commit is contained in:
@@ -26,8 +26,7 @@ def pytest_runtest_makereport(item, call):
|
||||
@pytest.fixture(autouse=True)
|
||||
def qapplication(qtbot, request, testable_qtimer_class): # pylint: disable=unused-argument
|
||||
qapp = QApplication.instance()
|
||||
if not hasattr(qapp, "theme"):
|
||||
apply_theme("light")
|
||||
apply_theme("light")
|
||||
qapp.processEvents()
|
||||
|
||||
yield
|
||||
@@ -41,7 +40,6 @@ def qapplication(qtbot, request, testable_qtimer_class): # pylint: disable=unus
|
||||
bec_dispatcher.stop_cli_server()
|
||||
|
||||
testable_qtimer_class.check_all_stopped(qtbot)
|
||||
qapp = QApplication.instance()
|
||||
qapp.processEvents()
|
||||
if hasattr(qapp, "os_listener") and qapp.os_listener:
|
||||
qapp.removeEventFilter(qapp.os_listener)
|
||||
|
||||
Reference in New Issue
Block a user