eric6/Utilities/BackgroundService.py

changeset 8143
2c730d5fd177
parent 7965
48fbf9149d16
child 8173
b2f9cda5cc0e
diff -r 27f636beebad -r 2c730d5fd177 eric6/Utilities/BackgroundService.py
--- a/eric6/Utilities/BackgroundService.py	Mon Mar 01 17:48:43 2021 +0100
+++ b/eric6/Utilities/BackgroundService.py	Tue Mar 02 17:17:09 2021 +0100
@@ -93,7 +93,8 @@
             getConfig('ericDir'),
             "Utilities", "BackgroundClient.py")
         proc = QProcess()
-        proc.setProcessChannelMode(QProcess.ForwardedChannels)
+        proc.setProcessChannelMode(
+            QProcess.ProcessChannelMode.ForwardedChannels)
         args = [backgroundClient, self.hostAddress, str(port),
                 str(Preferences.getUI("BackgroundServiceProcesses"))]
         proc.start(interpreter, args)

eric ide

mercurial