mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix build on macOS.
This commit is contained in:
parent
97ae094c3c
commit
2f4651fe6f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue