diff options
Diffstat (limited to 'sinksh/syntax_modules/sink_drop.cpp')
-rw-r--r-- | sinksh/syntax_modules/sink_drop.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sinksh/syntax_modules/sink_drop.cpp b/sinksh/syntax_modules/sink_drop.cpp index ce468de..3b9a817 100644 --- a/sinksh/syntax_modules/sink_drop.cpp +++ b/sinksh/syntax_modules/sink_drop.cpp | |||
@@ -44,8 +44,7 @@ bool drop(const QStringList &args, State &state) | |||
44 | 44 | ||
45 | auto argList = args; | 45 | auto argList = args; |
46 | auto resource = argList.takeFirst(); | 46 | auto resource = argList.takeFirst(); |
47 | 47 | QDirIterator it(Sink::storageLocation(), QStringList() << SinkshUtils::parseUid(resource.toLatin1()) + "*", QDir::Dirs); | |
48 | QDirIterator it(Sink::storageLocation(), QStringList() << resource + "*", QDir::Dirs); | ||
49 | while (it.hasNext()) { | 48 | while (it.hasNext()) { |
50 | auto path = it.next(); | 49 | auto path = it.next(); |
51 | QDir dir(path); | 50 | QDir dir(path); |