diff options
author | obscuren <geffobscura@gmail.com> | 2014-07-30 06:17:23 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-07-30 06:17:23 +0800 |
commit | 5c9fd19105c572ea717a8bc04758dcf3e71af47e (patch) | |
tree | 4ffbecde837319649e1bd9c5f39a7ed2f884d7de /ethereal/qml_container.go | |
parent | beca2234af8d91b5840dad75ee0bd4f929f49c98 (diff) | |
download | dexon-5c9fd19105c572ea717a8bc04758dcf3e71af47e.tar dexon-5c9fd19105c572ea717a8bc04758dcf3e71af47e.tar.gz dexon-5c9fd19105c572ea717a8bc04758dcf3e71af47e.tar.bz2 dexon-5c9fd19105c572ea717a8bc04758dcf3e71af47e.tar.lz dexon-5c9fd19105c572ea717a8bc04758dcf3e71af47e.tar.xz dexon-5c9fd19105c572ea717a8bc04758dcf3e71af47e.tar.zst dexon-5c9fd19105c572ea717a8bc04758dcf3e71af47e.zip |
A few start up optimisations
Diffstat (limited to 'ethereal/qml_container.go')
-rw-r--r-- | ethereal/qml_container.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereal/qml_container.go b/ethereal/qml_container.go index 1b420ee21..53ff13c2f 100644 --- a/ethereal/qml_container.go +++ b/ethereal/qml_container.go @@ -25,7 +25,7 @@ func (app *QmlApplication) Create() error { path := string(app.path) // For some reason for windows we get /c:/path/to/something, windows doesn't like the first slash but is fine with the others so we are removing it - if string(app.path[0]) == "/" && runtime.GOOS == "windows" { + if app.path[0] == '/' && runtime.GOOS == "windows" { path = app.path[1:] } |