mirror of
https://github.com/mappu/miqt.git
synced 2025-04-27 23:50:22 +00:00
examples/goroutine6: update for new overload ordinals
This commit is contained in:
parent
329ea18df8
commit
f3de0e064f
@ -33,7 +33,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
button := qt.NewQPushButton5("start!", window.QWidget)
|
button := qt.NewQPushButton5("start!", window.QWidget)
|
||||||
button.OnClicked1(func(bool) {
|
button.OnClicked(func() {
|
||||||
button.SetDisabled(true)
|
button.SetDisabled(true)
|
||||||
for i, label := range labels {
|
for i, label := range labels {
|
||||||
go func(index int, qlabel *qt.QLabel) {
|
go func(index int, qlabel *qt.QLabel) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user