mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-04 14:54:02 +00:00
Make musicdns.OFA a QObject subclass.
This commit is contained in:
@@ -16,7 +16,8 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
|
||||
from PyQt4 import QtCore
|
||||
try:
|
||||
from picard.musicdns import ofa
|
||||
except ImportError:
|
||||
@@ -24,9 +25,10 @@ except ImportError:
|
||||
from picard.util import encode_filename
|
||||
|
||||
|
||||
class OFA(object):
|
||||
class OFA(QtCore.QObject):
|
||||
|
||||
def __init__(self):
|
||||
def __init__(self):
|
||||
QtCore.QObject.__init__(self)
|
||||
self._decoders = []
|
||||
try:
|
||||
from picard.musicdns import directshow
|
||||
|
||||
Reference in New Issue
Block a user