aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/rgscan/rgscanner.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-05-30 20:28:36 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-05-30 20:28:36 +0000
commitc8134e1cf570aa2dc1d213e93769b3a290fb58f2 (patch)
treec26295debb015bc3e3043455f99163073e002be5 /src/plugins/General/rgscan/rgscanner.cpp
parent4ab1964bb6cd90ef26e6d6060427038b88e0c37f (diff)
downloadqmmp-c8134e1cf570aa2dc1d213e93769b3a290fb58f2.tar.gz
qmmp-c8134e1cf570aa2dc1d213e93769b3a290fb58f2.tar.bz2
qmmp-c8134e1cf570aa2dc1d213e93769b3a290fb58f2.zip
enabled all remaining plugins
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7982 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/rgscan/rgscanner.cpp')
-rw-r--r--src/plugins/General/rgscan/rgscanner.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/General/rgscan/rgscanner.cpp b/src/plugins/General/rgscan/rgscanner.cpp
index 5d7719284..e1311bd97 100644
--- a/src/plugins/General/rgscan/rgscanner.cpp
+++ b/src/plugins/General/rgscan/rgscanner.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2013-2017 by Ilya Kotov *
+ * Copyright (C) 2013-2018 by Ilya Kotov *
* forkotov02@ya.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -74,7 +74,7 @@ bool RGScanner::prepare(const QString &url)
return false;
}
- DecoderFactory *factory = Decoder::findByFilePath(source->url());
+ DecoderFactory *factory = Decoder::findByFilePath(source->path());
if(!factory)
{
@@ -88,7 +88,7 @@ bool RGScanner::prepare(const QString &url)
if(factory->properties().noInput && source->ioDevice())
source->ioDevice()->close();
- Decoder *decoder = factory->create(source->url(), source->ioDevice());
+ Decoder *decoder = factory->create(source->path(), source->ioDevice());
if(!decoder->initialize())
{
qWarning("RGScanner: [%s] invalid file format", qPrintable(name));