iOS: Fix C++11 build
Change-Id: Ib7dc8dcbeca7e85d97b8c7fb04d2cf42e5245298 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
This commit is contained in:
parent
8a5827f706
commit
ed22c1721b
@ -150,7 +150,7 @@
|
||||
m_keyboardEndRect = [self getKeyboardRect:notification];
|
||||
if (!m_duration) {
|
||||
m_duration = [notification.userInfo[UIKeyboardAnimationDurationUserInfoKey] doubleValue];
|
||||
m_curve = [notification.userInfo[UIKeyboardAnimationCurveUserInfoKey] integerValue] << 16;
|
||||
m_curve = UIViewAnimationCurve([notification.userInfo[UIKeyboardAnimationCurveUserInfoKey] integerValue] << 16);
|
||||
}
|
||||
m_context->scrollRootView();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user