diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-28 19:56:19 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-28 19:56:19 +0100 |
commit | 77c1249e3b09a7f721c749bdb5d7f3b38950e52f (patch) | |
tree | c9077b0a3476eba2a5712ea00edf00267e956969 | |
parent | 350cc98c39417e4948e402bd24babd81489de13d (diff) |
api: use multi-arg
-rw-r--r-- | api/plugin-support.hpp | 2 |
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; |