mirror of
https://github.com/mappu/miqt.git
synced 2025-01-08 16:38:37 +00:00
goroutine6: use simpler downcasts
This commit is contained in:
parent
8777a73081
commit
f71dc1c303
@ -20,7 +20,7 @@ func main() {
|
||||
|
||||
widget := qt.NewQWidget(window.QWidget)
|
||||
var layout = qt.NewQVBoxLayout2()
|
||||
widget.SetLayout(layout.QBoxLayout.QLayout)
|
||||
widget.SetLayout(layout.QLayout)
|
||||
window.SetCentralWidget(widget)
|
||||
|
||||
labels := make([]*qt.QLabel, threadcount)
|
||||
@ -45,7 +45,7 @@ func main() {
|
||||
}(i, label)
|
||||
}
|
||||
})
|
||||
widget.Layout().AddWidget(button.QAbstractButton.QWidget)
|
||||
widget.Layout().AddWidget(button.QWidget)
|
||||
|
||||
window.Show()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user