summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-28 19:56:19 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-28 19:56:19 +0100
commit77c1249e3b09a7f721c749bdb5d7f3b38950e52f (patch)
treec9077b0a3476eba2a5712ea00edf00267e956969 /api
parent350cc98c39417e4948e402bd24babd81489de13d (diff)
api: use multi-arg
Diffstat (limited to 'api')
-rw-r--r--api/plugin-support.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/plugin-support.hpp b/api/plugin-support.hpp
index c2368047..02032b54 100644
--- a/api/plugin-support.hpp
+++ b/api/plugin-support.hpp
@@ -101,7 +101,7 @@ struct dylib final
{
for (const QString& filename : module_directory.entryList({ filter.glob }, QDir::Files, QDir::Name))
{
- std::shared_ptr<dylib> lib = std::make_shared<dylib>(QStringLiteral("%1/%2").arg(library_path).arg(filename), filter.type);
+ auto lib = std::make_shared<dylib>(QStringLiteral("%1/%2").arg(library_path, filename), filter.type);
if (lib->type == Invalid)
continue;