Fix build on macOS.

This commit is contained in:
John Preston 2021-10-25 09:14:50 +04:00
parent 97ae094c3c
commit 2f4651fe6f

View File

@ -455,7 +455,7 @@ QString CloudThemes::prepareTestingLink(const CloudTheme &theme) const {
};
auto arguments = QStringList();
for (const auto &[type, settings] : theme.settings) {
const auto add = [&](const QString &value) {
const auto add = [&, type = type](const QString &value) {
const auto prefix = (type == CloudTheme::Type::Dark)
? u"dark_"_q
: u""_q;