Initialization of Qt should happen before anything else

pull/94/head
obscuren 11 years ago
parent 214721ca01
commit 52ddf044ae
  1. 5
      ethereal/main.go

@ -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

Loading…
Cancel
Save