summaryrefslogtreecommitdiffstats
path: root/common/asyncutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/asyncutils.h')
-rw-r--r--common/asyncutils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/asyncutils.h b/common/asyncutils.h
index 7b62eb2..67b5928 100644
--- a/common/asyncutils.h
+++ b/common/asyncutils.h
@@ -39,7 +39,7 @@ KAsync::Job<T> run(const std::function<T()> &f, bool runAsync = true)
39 }); 39 });
40 }); 40 });
41 } else { 41 } else {
42 return KAsync::syncStart<T>([f]() { 42 return KAsync::start<T>([f]() {
43 return f(); 43 return f();
44 }); 44 });
45 } 45 }