Commit 52ddf044 authored by obscuren's avatar obscuren

Initialization of Qt should happen before anything else

parent 214721ca
......@@ -10,10 +10,11 @@ import (
)
func main() {
runtime.GOMAXPROCS(runtime.NumCPU())
// Leave QT on top at ALL times.
qml.Init(nil)
runtime.GOMAXPROCS(runtime.NumCPU())
var interrupted = false
utils.RegisterInterrupt(func(os.Signal) {
interrupted = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment