From ba2b748d40f78b9d9f945b5422ca74d05f8d0d07 Mon Sep 17 00:00:00 2001 From: Felipe Sateler Date: Wed, 11 Apr 2018 15:26:19 +0300 Subject: [PATCH] qpaeq: fix Qt5 mainloop use This change was missed in the Qt4 -> Qt5 conversion. --- src/utils/qpaeq | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/qpaeq b/src/utils/qpaeq index 651d3a4e9..53b0ca3e3 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() -- 2.17.1