mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Some cosmetic changes in settigs setters
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user