mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-04-11 04:01:18 +00:00
Some cosmetic changes in settigs setters
This commit is contained in:
parent
3967052375
commit
6374d4eeda
@ -233,9 +233,7 @@ void SetScaleFactor() {
|
||||
void SetIconTheme() {
|
||||
Core::Sandbox::Instance().customEnterFromEventLoop([] {
|
||||
const auto integration = GtkIntegration::Instance();
|
||||
|
||||
if (!integration
|
||||
|| !IconThemeShouldBeSet()) {
|
||||
if (!integration || !IconThemeShouldBeSet()) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -270,9 +268,7 @@ void SetIconTheme() {
|
||||
void SetCursorSize() {
|
||||
Core::Sandbox::Instance().customEnterFromEventLoop([] {
|
||||
const auto integration = GtkIntegration::Instance();
|
||||
|
||||
if (!integration
|
||||
|| !CursorSizeShouldBeSet()) {
|
||||
if (!integration || !CursorSizeShouldBeSet()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user