summaryrefslogtreecommitdiff
path: root/nephilim/plugins/Notify.py
diff options
context:
space:
mode:
authorAnton Khirnov <wyskas@gmail.com>2009-06-19 10:49:54 +0200
committerAnton Khirnov <wyskas@gmail.com>2009-06-19 10:49:54 +0200
commit27e27a05b82e4a64123c30cc8261e9e69cd1bea3 (patch)
tree953bc9b71b032929878b4702a9915dfd469b8bff /nephilim/plugins/Notify.py
parentcfbaa2bde498f61bde1d565c66742eb5875d8f2c (diff)
Split some parts of winMain into a subclass of QApplication.
Diffstat (limited to 'nephilim/plugins/Notify.py')
-rw-r--r--nephilim/plugins/Notify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nephilim/plugins/Notify.py b/nephilim/plugins/Notify.py
index 2f373eb..d9e2a24 100644
--- a/nephilim/plugins/Notify.py
+++ b/nephilim/plugins/Notify.py
@@ -63,7 +63,7 @@ class winNotify(QtGui.QWidget):
font.setPixelSize(20)
self.setFont(font)
- ac = self.parent.plugins.plugin('AlbumCover')
+ ac = QtGui.QApplication.instance().plugins.plugin('AlbumCover')
if ac:
self.connect(ac, QtCore.SIGNAL('cover_changed'), self.on_cover_changed)