tsetWindowIcon() to electrum.png - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 02ba760c39b04a658897a3a3d01d07e0c861dddc DIR parent 91deb307714c09969da5d53a21fe3894c0f19119 HTML Author: Amir Taaki <genjix@riseup.net> Date: Sat, 7 Jul 2012 19:23:48 +0100 setWindowIcon() to electrum.png Diffstat: M icons.qrc | 1 + M lib/gui_lite.py | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) --- DIR diff --git a/icons.qrc b/icons.qrc t@@ -1,5 +1,6 @@ <RCC> <qresource prefix="/" > + <file>electrum.png</file> <file>icons/confirmed.png</file> <file>icons/lock.png</file> <file>icons/preferences.png</file> DIR diff --git a/lib/gui_lite.py b/lib/gui_lite.py t@@ -195,6 +195,7 @@ class MiniWindow(QDialog): close_shortcut = QShortcut(QKeySequence("Ctrl+W"), self) self.connect(close_shortcut, SIGNAL("activated()"), self.close) + self.setWindowIcon(QIcon(":electrum.png")) self.setWindowTitle("Electrum") self.setWindowFlags(Qt.Window|Qt.MSWindowsFixedSizeDialogHint) self.layout().setSizeConstraint(QLayout.SetFixedSize)