mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 15:15:13 +00:00
Fix some lines length in specific_linux
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user