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 /ethereal/main.go | |
parent | 214721ca0155d872a355991506149fdf7e018ad5 (diff) | |
download | dexon-52ddf044ae28cf84e61ced2d9193e7d5e806e1ef.tar.gz dexon-52ddf044ae28cf84e61ced2d9193e7d5e806e1ef.tar.zst dexon-52ddf044ae28cf84e61ced2d9193e7d5e806e1ef.zip |
Initialization of Qt should happen before anything else
Diffstat (limited to 'ethereal/main.go')
-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 |