diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-09-18 18:15:52 +0300 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-09-18 18:15:52 +0300 |
commit | f2c6ceb47a15e2a9de99ae9a0ed4d955d0356528 (patch) | |
tree | fccb1ed3f75a4f0304e5df107e732e5ab16aa949 /src/plugins/pluginloader.cpp | |
parent | Add Navigation and Tab toolbars (diff) | |
download | rekonq-f2c6ceb47a15e2a9de99ae9a0ed4d955d0356528.tar.xz |
Fix compiler warnings
Diffstat (limited to 'src/plugins/pluginloader.cpp')
-rw-r--r-- | src/plugins/pluginloader.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/pluginloader.cpp b/src/plugins/pluginloader.cpp index ad5dbc14..fc793647 100644 --- a/src/plugins/pluginloader.cpp +++ b/src/plugins/pluginloader.cpp @@ -13,5 +13,6 @@ PluginLoader::PluginLoader(const QString &fileName, QObject *parent) : QPluginLoader(fileName, parent) { const auto metadata = metaData()["MetaData"].toObject(); - for (const auto &value : metadata["schemes"].toArray()) { m_schemes.append(value.toString()); } + const auto schemes = metadata["schemes"].toArray(); + for (const auto &value : schemes) { m_schemes.append(value.toString()); } } |