aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/converter/converter.cpp
diff options
context:
space:
mode:
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",