aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ethereal/main.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/ethereal/main.go b/ethereal/main.go
index ebda552ee..0f99be886 100644
--- a/ethereal/main.go
+++ b/ethereal/main.go
@@ -14,11 +14,10 @@ const (
)
func main() {
- // Leave QT on top at ALL times. Qt Needs to be initialized from the main thread
- qml.Init(nil)
-
runtime.GOMAXPROCS(runtime.NumCPU())
+ qml.Init(nil)
+
var interrupted = false
utils.RegisterInterrupt(func(os.Signal) {
interrupted = true