aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/converter/converter.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2011-10-05 18:04:59 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2011-10-05 18:04:59 +0000
commit61cfbabecf27c4fe636e00aea57d8b2a9c6e634a (patch)
tree7c217ee50f3705b9464745582df584f70569ad01 /src/plugins/General/converter/converter.cpp
parent899a15f90c2845cd44e0e6aa1dc4eae5dcc68f2b (diff)
downloadqmmp-61cfbabecf27c4fe636e00aea57d8b2a9c6e634a.tar.gz
qmmp-61cfbabecf27c4fe636e00aea57d8b2a9c6e634a.tar.bz2
qmmp-61cfbabecf27c4fe636e00aea57d8b2a9c6e634a.zip
converter: added default presets, fixed some bugs
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2379 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/converter/converter.cpp')
-rw-r--r--src/plugins/General/converter/converter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/General/converter/converter.cpp b/src/plugins/General/converter/converter.cpp
index dac064102..68746ff2f 100644
--- a/src/plugins/General/converter/converter.cpp
+++ b/src/plugins/General/converter/converter.cpp
@@ -50,7 +50,7 @@ void Converter::add(const QString &url)
if(source->ioDevice())
{
- if(source->ioDevice()->open(QIODevice::ReadOnly))
+ if(!source->ioDevice()->open(QIODevice::ReadOnly))
{
source->deleteLater();
qWarning("Converter: cannot open input stream, error: %s",