aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/qml_container.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-07-30 06:17:23 +0800
committerobscuren <geffobscura@gmail.com>2014-07-30 06:17:23 +0800
commit5c9fd19105c572ea717a8bc04758dcf3e71af47e (patch)
tree4ffbecde837319649e1bd9c5f39a7ed2f884d7de /ethereal/qml_container.go
parentbeca2234af8d91b5840dad75ee0bd4f929f49c98 (diff)
downloaddexon-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.go2
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:]
}