From 52ddf044ae28cf84e61ced2d9193e7d5e806e1ef Mon Sep 17 00:00:00 2001 From: obscuren Date: Thu, 26 Jun 2014 23:14:17 +0200 Subject: [PATCH] Initialization of Qt should happen before anything else --- ethereal/main.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ethereal/main.go b/ethereal/main.go index 799b50e4b..1674b59d9 100644 --- a/ethereal/main.go +++ b/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