summaryrefslogtreecommitdiff
path: root/src/leap/bitmask
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2017-04-20 15:43:09 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2017-04-20 15:43:13 +0200
commit73836440b099f10174bc0b79ad4b8c85fcb9caf1 (patch)
tree119dd821d2afc2179e39ef626f4ec6f56545a900 /src/leap/bitmask
parentad587366aae66e6c24d4372c531c224a82686941 (diff)
[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
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r--src/leap/bitmask/gui/app.py6
1 files changed, 6 insertions, 0 deletions
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)