From 73836440b099f10174bc0b79ad4b8c85fcb9caf1 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Thu, 20 Apr 2017 15:43:09 +0200 Subject: [bug] add icon to window The icon it was introduced and then deleted by mistake on the recent window refactor after pixelated integration. - Resolves: #8826 --- src/leap/bitmask/gui/app.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/leap/bitmask') diff --git a/src/leap/bitmask/gui/app.py b/src/leap/bitmask/gui/app.py index 78bb43d..fc61e81 100644 --- a/src/leap/bitmask/gui/app.py +++ b/src/leap/bitmask/gui/app.py @@ -94,6 +94,12 @@ class BrowserWindow(QWebView): self.frame.addToJavaScriptWindowObject( "bitmaskApp", self.proxy) + icon = QtGui.QIcon() + icon.addPixmap( + QtGui.QPixmap(":/mask-icon.png"), + QtGui.QIcon.Normal, QtGui.QIcon.Off) + self.setWindowIcon(icon) + def loadPage(self, web_page): self.settings().setAttribute( QWebSettings.DeveloperExtrasEnabled, True) -- cgit v1.2.3