aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ethereal/main.go5
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