From 77fd361c62ea84a761aedead906cdd9f38ac79eb Mon Sep 17 00:00:00 2001 From: obscuren Date: Fri, 22 Aug 2014 12:12:53 +0200 Subject: [PATCH] Error window --- ethereal/main.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/ethereal/main.go b/ethereal/main.go index 3729dbdaff..7b157f3dbf 100644 --- a/ethereal/main.go +++ b/ethereal/main.go @@ -1,7 +1,6 @@ package main import ( - "fmt" "os" "runtime" @@ -31,18 +30,6 @@ func run() error { db := utils.NewDatabase() err := utils.DBSanityCheck(db) if err != nil { - engine := qml.NewEngine() - component, e := engine.LoadString("local", qmlErr) - if e != nil { - fmt.Println("err:", err) - os.Exit(1) - } - - win := component.CreateWindow(nil) - win.Root().ObjectByName("label").Set("text", err.Error()) - win.Show() - win.Wait() - ErrorWindow(err) os.Exit(1) }