mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
on Mac, it's NSRect, not CGRect
This commit is contained in:
parent
cb1903aa1e
commit
f6802d8552
1 changed files with 2 additions and 2 deletions
|
@ -64,8 +64,8 @@
|
|||
[fCheckAllButton setTitle: NSLocalizedString(@"All", "inspector -> check all")];
|
||||
[fUncheckAllButton setTitle: NSLocalizedString(@"None", "inspector -> check all")];
|
||||
|
||||
CGRect checkAllFrame = [fCheckAllButton frame];
|
||||
CGRect uncheckAllFrame = [fUncheckAllButton frame];
|
||||
NSRect checkAllFrame = [fCheckAllButton frame];
|
||||
NSRect uncheckAllFrame = [fUncheckAllButton frame];
|
||||
const CGFloat oldAllWidth = checkAllFrame.size.width;
|
||||
const CGFloat oldNoneWidth = uncheckAllFrame.size.width;
|
||||
|
||||
|
|
Loading…
Reference in a new issue