|
|
@ -14,11 +14,10 @@ const ( |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
func main() { |
|
|
|
func main() { |
|
|
|
// Leave QT on top at ALL times. Qt Needs to be initialized from the main thread
|
|
|
|
|
|
|
|
qml.Init(nil) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
runtime.GOMAXPROCS(runtime.NumCPU()) |
|
|
|
runtime.GOMAXPROCS(runtime.NumCPU()) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
qml.Init(nil) |
|
|
|
|
|
|
|
|
|
|
|
var interrupted = false |
|
|
|
var interrupted = false |
|
|
|
utils.RegisterInterrupt(func(os.Signal) { |
|
|
|
utils.RegisterInterrupt(func(os.Signal) { |
|
|
|
interrupted = true |
|
|
|
interrupted = true |
|
|
|