mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-27 15:31:31 +00:00
setWindowIcon() to electrum.png
This commit is contained in:
parent
91deb30771
commit
02ba760c39
2 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
<RCC>
|
<RCC>
|
||||||
<qresource prefix="/" >
|
<qresource prefix="/" >
|
||||||
|
<file>electrum.png</file>
|
||||||
<file>icons/confirmed.png</file>
|
<file>icons/confirmed.png</file>
|
||||||
<file>icons/lock.png</file>
|
<file>icons/lock.png</file>
|
||||||
<file>icons/preferences.png</file>
|
<file>icons/preferences.png</file>
|
||||||
|
|
|
@ -195,6 +195,7 @@ class MiniWindow(QDialog):
|
||||||
close_shortcut = QShortcut(QKeySequence("Ctrl+W"), self)
|
close_shortcut = QShortcut(QKeySequence("Ctrl+W"), self)
|
||||||
self.connect(close_shortcut, SIGNAL("activated()"), self.close)
|
self.connect(close_shortcut, SIGNAL("activated()"), self.close)
|
||||||
|
|
||||||
|
self.setWindowIcon(QIcon(":electrum.png"))
|
||||||
self.setWindowTitle("Electrum")
|
self.setWindowTitle("Electrum")
|
||||||
self.setWindowFlags(Qt.Window|Qt.MSWindowsFixedSizeDialogHint)
|
self.setWindowFlags(Qt.Window|Qt.MSWindowsFixedSizeDialogHint)
|
||||||
self.layout().setSizeConstraint(QLayout.SetFixedSize)
|
self.layout().setSizeConstraint(QLayout.SetFixedSize)
|
||||||
|
|
Loading…
Add table
Reference in a new issue