mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-22 09:07:05 +02:00
Fix some lines length in specific_linux
This commit is contained in:
parent
37a8afaddf
commit
a29ff093f6
1 changed files with 6 additions and 2 deletions
|
@ -621,7 +621,9 @@ std::optional<bool> IsDarkMode() {
|
|||
}
|
||||
}
|
||||
|
||||
const auto themeName = integration->getStringSetting(qsl("gtk-theme-name"));
|
||||
const auto themeName = integration->getStringSetting(
|
||||
qsl("gtk-theme-name"));
|
||||
|
||||
if (!themeName.has_value()) {
|
||||
return std::nullopt;
|
||||
} else if (themeName->toLower().contains(qsl("-dark"))) {
|
||||
|
@ -951,7 +953,9 @@ bool OpenSystemSettings(SystemSettingsType type) {
|
|||
add("pavucontrol");
|
||||
add("alsamixergui");
|
||||
return ranges::any_of(options, [](const Command &command) {
|
||||
return QProcess::startDetached(command.command, command.arguments);
|
||||
return QProcess::startDetached(
|
||||
command.command,
|
||||
command.arguments);
|
||||
});
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue