diff options
author | obscuren <geffobscura@gmail.com> | 2014-06-27 05:14:17 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-06-27 05:14:17 +0800 |
commit | 52ddf044ae28cf84e61ced2d9193e7d5e806e1ef (patch) | |
tree | 47e561a918796dd9d044eb4bc22da0950d7e0ebd | |
parent | 214721ca0155d872a355991506149fdf7e018ad5 (diff) | |
download | go-tangerine-52ddf044ae28cf84e61ced2d9193e7d5e806e1ef.tar.gz go-tangerine-52ddf044ae28cf84e61ced2d9193e7d5e806e1ef.tar.zst go-tangerine-52ddf044ae28cf84e61ced2d9193e7d5e806e1ef.zip |
Initialization of Qt should happen before anything else
-rw-r--r-- | ethereal/main.go | 5 |
1 files 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 |