mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 00:23:56 +08:00
Fix -Wunused-variable warnings
This commit is contained in:
@@ -406,7 +406,7 @@ bool GenerateDesktopFile(
|
||||
}
|
||||
|
||||
void SetDarkMode() {
|
||||
static const auto Inited = [] {
|
||||
[[maybe_unused]] static const auto Inited = [] {
|
||||
QObject::connect(
|
||||
qGuiApp,
|
||||
&QGuiApplication::paletteChanged,
|
||||
|
||||
Reference in New Issue
Block a user