Qt 5.12 ES5 → 7: Use "() =>" and array.includes
This commit is contained in:
@@ -48,10 +48,8 @@ HRectangle {
|
||||
print(canLoad, zz)
|
||||
eventList.canLoad = false
|
||||
py.callClientCoro(
|
||||
chatPage.userId,
|
||||
"load_past_events",
|
||||
[chatPage.roomId],
|
||||
function(more_to_load) { eventList.canLoad = more_to_load }
|
||||
chatPage.userId, "load_past_events", [chatPage.roomId],
|
||||
more_to_load => { eventList.canLoad = more_to_load }
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user