From cea09a421451595df9a8165b381e184df95107bf Mon Sep 17 00:00:00 2001 From: Jon Tibble Date: Thu, 8 Jul 2010 11:26:52 +0100 Subject: [PATCH] Remove dead code --- openlp/plugins/alerts/lib/alertstab.py | 4 ---- openlp/plugins/songs/lib/mediaitem.py | 12 ------------ 2 files changed, 16 deletions(-) diff --git a/openlp/plugins/alerts/lib/alertstab.py b/openlp/plugins/alerts/lib/alertstab.py index e03bbfabe..a024d4e49 100644 --- a/openlp/plugins/alerts/lib/alertstab.py +++ b/openlp/plugins/alerts/lib/alertstab.py @@ -274,10 +274,6 @@ class AlertsTab(SettingsTab): self.FontComboBox.setCurrentFont(font) self.updateDisplay() - def onItemSelected(self): - self.EditButton.setEnabled(True) - self.DeleteButton.setEnabled(True) - def save(self): settings = QtCore.QSettings() settings.beginGroup(self.settingsSection) diff --git a/openlp/plugins/songs/lib/mediaitem.py b/openlp/plugins/songs/lib/mediaitem.py index ef2b67f24..93f376d1f 100644 --- a/openlp/plugins/songs/lib/mediaitem.py +++ b/openlp/plugins/songs/lib/mediaitem.py @@ -245,18 +245,6 @@ class SongMediaItem(MediaManagerItem): self.edit_song_form.newSong() self.edit_song_form.exec_() - def onEditAuthorClick(self): - self.authors_form.load_form() - self.authors_form.exec_() - - def onEditTopicClick(self): - self.topics_form.load_form() - self.topics_form.exec_() - - def onEditBookClick(self): - self.song_book_form.load_form() - self.song_book_form.exec_() - def onSongMaintenanceClick(self): self.song_maintenance_form.exec_()