summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-01-10 08:28:57 +0000
committerritsuka <[email protected]>2015-01-10 08:28:57 +0000
commitfa1864cee5ad56b704ca6db52427ecc399a7a0d7 (patch)
treebeff72a5f498cffd52f99f4b960c8a5cb252df9d
parent38523d35b04312ded4cc96f3dec73c4f36745884 (diff)
MacGui: remove a deprecated api call.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6716 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--macosx/HBPreferencesController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBPreferencesController.m b/macosx/HBPreferencesController.m
index 2325eb2c4..cd0874696 100644
--- a/macosx/HBPreferencesController.m
+++ b/macosx/HBPreferencesController.m
@@ -294,7 +294,7 @@
return;
NSRect windowRect = [window frame];
- CGFloat difference = ( [view frame].size.height - [[window contentView] frame].size.height ) * [window userSpaceScaleFactor];
+ CGFloat difference = ( [view frame].size.height - [[window contentView] frame].size.height );
windowRect.origin.y -= difference;
windowRect.size.height += difference;