aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/managewindow.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-05-06 18:13:51 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-07 07:30:36 +0200
commit630504d0190570813fabdfc45d4fd798ffb4d372 (patch)
treee7fbbd65401176ea338893ff68ccab1d00e0f350 /ui/managewindow.go
parentui: confview should be more picky about which tunnel (diff)
downloadwireguard-windows-630504d0190570813fabdfc45d4fd798ffb4d372.tar.xz
wireguard-windows-630504d0190570813fabdfc45d4fd798ffb4d372.zip
ui: move things out of iconprovider
Diffstat (limited to 'ui/managewindow.go')
-rw-r--r--ui/managewindow.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/ui/managewindow.go b/ui/managewindow.go
index dd2de7f5..b8a34c3a 100644
--- a/ui/managewindow.go
+++ b/ui/managewindow.go
@@ -36,11 +36,6 @@ func NewManageTunnelsWindow() (*ManageTunnelsWindow, error) {
}
disposables.Add(mtw)
- iconProvider, err = NewIconProvider(mtw.DPI())
- if err != nil {
- return nil, err
- }
-
mtw.SetIcon(iconProvider.wireguardIcon)
mtw.SetTitle("WireGuard")
font, err := walk.NewFont("Segoe UI", 9, 0)