Make musicdns.OFA a QObject subclass.

This commit is contained in:
Lukáš Lalinský
2006-11-13 17:33:09 +01:00
parent b042b8fdc6
commit be218ea3b1

View File

@@ -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