[pulseaudio-commits] src/utils

Tanu Kaskinen tanuk at kemper.freedesktop.org
Wed Apr 11 12:28:18 UTC 2018


 src/utils/qpaeq |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ba2b748d40f78b9d9f945b5422ca74d05f8d0d07
Author: Felipe Sateler <fsateler at gmail.com>
Date:   Wed Apr 11 15:26:19 2018 +0300

    qpaeq: fix Qt5 mainloop use
    
    This change was missed in the Qt4 -> Qt5 conversion.

diff --git a/src/utils/qpaeq b/src/utils/qpaeq
index 651d3a4e..53b0ca3e 100755
--- a/src/utils/qpaeq
+++ b/src/utils/qpaeq
@@ -20,7 +20,7 @@ import os,math,sys
 try:
     import PyQt5,sip
     from PyQt5 import QtWidgets,QtCore
-    import dbus.mainloop.qt
+    import dbus.mainloop.pyqt5
     import dbus
 except ImportError as e:
     sys.stderr.write('There was an error importing needed libraries\n'
@@ -565,7 +565,7 @@ def subdivide(xs, t_points):
     return left+right
 
 def main():
-    dbus.mainloop.qt.DBusQtMainLoop(set_as_default=True)
+    dbus.mainloop.pyqt5.DBusQtMainLoop(set_as_default=True)
     app=QtWidgets.QApplication(sys.argv)
     qpaeq_main=QPaeq()
     qpaeq_main.show()



More information about the pulseaudio-commits mailing list