diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-10 08:25:42 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-10 08:25:42 +0100 |
commit | 4ee8a44bf4dda625b4d2f58f127869557c1af959 (patch) | |
tree | 67f8bf05e33cf86f0bd9061ddf5a6d5a0ba842bb /sinksh/syntax_modules/sink_clear.cpp | |
parent | 60b4e805d39f2ddb6316f739bdf730d04721fea2 (diff) | |
download | sink-4ee8a44bf4dda625b4d2f58f127869557c1af959.tar.gz sink-4ee8a44bf4dda625b4d2f58f127869557c1af959.zip |
Removed removeFromDisk
Diffstat (limited to 'sinksh/syntax_modules/sink_clear.cpp')
-rw-r--r-- | sinksh/syntax_modules/sink_clear.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sinksh/syntax_modules/sink_clear.cpp b/sinksh/syntax_modules/sink_clear.cpp index d02c638..72d9a14 100644 --- a/sinksh/syntax_modules/sink_clear.cpp +++ b/sinksh/syntax_modules/sink_clear.cpp | |||
@@ -41,7 +41,7 @@ bool clear(const QStringList &args, State &state) | |||
41 | { | 41 | { |
42 | for (const auto &resource : args) { | 42 | for (const auto &resource : args) { |
43 | state.print(QObject::tr("Removing local cache for '%1' ...").arg(resource)); | 43 | state.print(QObject::tr("Removing local cache for '%1' ...").arg(resource)); |
44 | Sink::Store::removeFromDisk(resource.toLatin1()); | 44 | Sink::Store::removeDataFromDisk(resource.toLatin1()).exec().waitForFinished(); |
45 | state.printLine(QObject::tr("done")); | 45 | state.printLine(QObject::tr("done")); |
46 | } | 46 | } |
47 | 47 | ||