mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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();
|
auto arguments = QStringList();
|
||||||
for (const auto &[type, settings] : theme.settings) {
|
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)
|
const auto prefix = (type == CloudTheme::Type::Dark)
|
||||||
? u"dark_"_q
|
? u"dark_"_q
|
||||||
: u""_q;
|
: u""_q;
|
||||||
|
|
Loading…
Add table
Reference in a new issue