mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
examples/helloworld: simplify
This commit is contained in:
parent
db74fef950
commit
2b1cf2aa3e
@ -9,8 +9,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
||||||
app := qt.NewQApplication(os.Args)
|
qt.NewQApplication(os.Args)
|
||||||
_ = app
|
|
||||||
|
|
||||||
btn := qt.NewQPushButton2("Hello world!")
|
btn := qt.NewQPushButton2("Hello world!")
|
||||||
btn.SetFixedWidth(320)
|
btn.SetFixedWidth(320)
|
||||||
|
Loading…
Reference in New Issue
Block a user