summaryrefslogtreecommitdiffstats
path: root/sinksh/syntax_modules/sink_sync.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sinksh/syntax_modules/sink_sync.cpp')
-rw-r--r--sinksh/syntax_modules/sink_sync.cpp2
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]() {