summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <wyskas@gmail.com>2009-11-27 17:46:19 +0100
committerAnton Khirnov <wyskas@gmail.com>2009-11-27 17:46:19 +0100
commitceb6880a15898ed2759ab1d0169bd09f887931d9 (patch)
tree8abb171c39a1bf6c6272d61d614c3801919deed2
parent13aeee8a299fa4e2750a3582f20182051bfdddf1 (diff)
Notify: toInt() -> int()
-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 4a86cfb..901e936 100644
--- a/nephilim/plugins/Notify.py
+++ b/nephilim/plugins/Notify.py
@@ -159,7 +159,7 @@ class Notify(Plugin):
def save_settings(self):
self.settings.beginGroup(self.plugin.name)
self.settings.setValue('songformat', QVariant(self.format.text()))
- self.settings.setValue('timer', QVariant(self.timer.text().toInt()[0]))
+ self.settings.setValue('timer', QVariant(int(self.timer.text())))
self.settings.endGroup()
self.plugin.onSongChange()