setWindowIcon() to electrum.png

This commit is contained in:
Amir Taaki 2012-07-07 19:23:48 +01:00
parent 91deb30771
commit 02ba760c39
2 changed files with 2 additions and 0 deletions

View file

@ -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>

View file

@ -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)