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