diff options
Diffstat (limited to 'Godeps/_workspace/src/github.com/obscuren/qml/examples/controls/splitview/splitview.go')
-rw-r--r-- | Godeps/_workspace/src/github.com/obscuren/qml/examples/controls/splitview/splitview.go | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/Godeps/_workspace/src/github.com/obscuren/qml/examples/controls/splitview/splitview.go b/Godeps/_workspace/src/github.com/obscuren/qml/examples/controls/splitview/splitview.go deleted file mode 100644 index a16b6b1ab..000000000 --- a/Godeps/_workspace/src/github.com/obscuren/qml/examples/controls/splitview/splitview.go +++ /dev/null @@ -1,29 +0,0 @@ -package main - -import ( - "fmt" - "gopkg.in/qml.v1" - "os" -) - -func main() { - if err := qml.Run(run); err != nil { - fmt.Fprintf(os.Stderr, "error: %v\n", err) - os.Exit(1) - } -} - -func run() error { - engine := qml.NewEngine() - - controls, err := engine.LoadFile("main.qml") - if err != nil { - return err - } - - window := controls.CreateWindow(nil) - - window.Show() - window.Wait() - return nil -} |