diff options
author | obscuren <geffobscura@gmail.com> | 2014-08-22 18:12:53 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-08-22 18:12:53 +0800 |
commit | 77fd361c62ea84a761aedead906cdd9f38ac79eb (patch) | |
tree | adb8f968ac840851ce3851c2c8ba0de0518eabc3 | |
parent | 09c7d158d1180dc9ec042b67f8c1ecb1015a142e (diff) | |
download | dexon-77fd361c62ea84a761aedead906cdd9f38ac79eb.tar.gz dexon-77fd361c62ea84a761aedead906cdd9f38ac79eb.tar.zst dexon-77fd361c62ea84a761aedead906cdd9f38ac79eb.zip |
Error window
-rw-r--r-- | ethereal/main.go | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/ethereal/main.go b/ethereal/main.go index 3729dbdaf..7b157f3db 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) } |