diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-05 20:07:53 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-05 20:07:53 +0200 |
commit | 94829f17066dcbbeb9f641a4870dd88aa916ba24 (patch) | |
tree | cef0fef888e999cc840bbe90a9c155eae1b0890c /sinksh/syntax_modules/sink_sync.cpp | |
parent | e470f65cad943f8a3065c6f5f6287adcc704627e (diff) | |
download | sink-94829f17066dcbbeb9f641a4870dd88aa916ba24.tar.gz sink-94829f17066dcbbeb9f641a4870dd88aa916ba24.zip |
A better resource filter api
Diffstat (limited to 'sinksh/syntax_modules/sink_sync.cpp')
-rw-r--r-- | sinksh/syntax_modules/sink_sync.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sinksh/syntax_modules/sink_sync.cpp b/sinksh/syntax_modules/sink_sync.cpp index e3c51ff..1c7ed0f 100644 --- a/sinksh/syntax_modules/sink_sync.cpp +++ b/sinksh/syntax_modules/sink_sync.cpp | |||
@@ -41,7 +41,7 @@ bool sync(const QStringList &args, State &state) | |||
41 | { | 41 | { |
42 | Sink::Query query; | 42 | Sink::Query query; |
43 | for (const auto &res : args) { | 43 | for (const auto &res : args) { |
44 | query.resources << res.toLatin1(); | 44 | query.resourceFilter(res.toLatin1()); |
45 | } | 45 | } |
46 | 46 | ||
47 | QTimer::singleShot(0, [query, state]() { | 47 | QTimer::singleShot(0, [query, state]() { |