mirror of
https://github.com/jellyfin/jellyfin-media-player.git
synced 2024-11-23 14:09:40 +00:00
fix a few warnings
This commit is contained in:
parent
b3ee998e3f
commit
316c0c307d
4
external/letsmove/PFMoveApplication.m
vendored
4
external/letsmove/PFMoveApplication.m
vendored
@ -121,7 +121,7 @@ void PFMoveToApplicationsFolderIfNecessary(void) {
|
|||||||
|
|
||||||
if (PFUseSmallAlertSuppressCheckbox) {
|
if (PFUseSmallAlertSuppressCheckbox) {
|
||||||
NSCell *cell = [[alert suppressionButton] cell];
|
NSCell *cell = [[alert suppressionButton] cell];
|
||||||
[cell setControlSize:NSSmallControlSize];
|
[cell setControlSize:NSControlSizeSmall];
|
||||||
[cell setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]];
|
[cell setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -192,7 +192,7 @@ void PFMoveToApplicationsFolderIfNecessary(void) {
|
|||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
// Save the alert suppress preference if checked
|
// Save the alert suppress preference if checked
|
||||||
else if ([[alert suppressionButton] state] == NSOnState) {
|
else if ([[alert suppressionButton] state] == NSControlStateValueOn) {
|
||||||
[[NSUserDefaults standardUserDefaults] setBool:YES forKey:AlertSuppressKey];
|
[[NSUserDefaults standardUserDefaults] setBool:YES forKey:AlertSuppressKey];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user