aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/ui.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-05-08 11:52:18 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-08 12:16:49 +0200
commit77b59845aca3b7bb773663aeda8094d39725d415 (patch)
treee0a3488aa1447bd741735037a9b347963b428d1d /ui/ui.go
parentinstaller: smarter detection of SYSTEM profile folder (diff)
downloadwireguard-windows-77b59845aca3b7bb773663aeda8094d39725d415.tar.xz
wireguard-windows-77b59845aca3b7bb773663aeda8094d39725d415.zip
ui: get correctly sized system icons
Diffstat (limited to 'ui/ui.go')
-rw-r--r--ui/ui.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/ui/ui.go b/ui/ui.go
index c5fa03c6..b662f96d 100644
--- a/ui/ui.go
+++ b/ui/ui.go
@@ -14,8 +14,6 @@ import (
"time"
)
-var iconProvider *IconProvider
-
var shouldQuitManagerWhenExiting = false
var startTime = time.Now()
@@ -36,8 +34,6 @@ func RunUI() {
tray *Tray
)
- iconProvider, _ = NewIconProvider()
-
for mtw == nil {
mtw, err = NewManageTunnelsWindow()
if err != nil {
@@ -83,7 +79,6 @@ func RunUI() {
mtw.Run()
tray.Dispose()
mtw.Dispose()
- iconProvider.Dispose()
if shouldQuitManagerWhenExiting {
_, err := service.IPCClientQuit(true)