From 77c1249e3b09a7f721c749bdb5d7f3b38950e52f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 28 Feb 2019 19:56:19 +0100 Subject: api: use multi-arg --- api/plugin-support.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api') 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 lib = std::make_shared(QStringLiteral("%1/%2").arg(library_path).arg(filename), filter.type); + auto lib = std::make_shared(QStringLiteral("%1/%2").arg(library_path, filename), filter.type); if (lib->type == Invalid) continue; -- cgit v1.2.3