From 21c59656a36574d6bebedf6e6e6434ecdd09ba6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20K=C3=B6gl?= Date: Thu, 17 Apr 2014 01:56:08 +0200 Subject: [PATCH] removed unused method in texter --- texter/texter/main.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/texter/texter/main.py b/texter/texter/main.py index 837bde2..8c827a7 100644 --- a/texter/texter/main.py +++ b/texter/texter/main.py @@ -402,13 +402,6 @@ class MainWindow(KMainWindow, Ui_MainWindow): return re.sub(" +", " ", text.replace("\n", " ")).strip()[:20] - def title_by_index(self, ix): - for title, (text, index) in self.items.iteritems(): - if index == ix: - return title - return None - - def slot_next_item(self): self.current = (self.text_combo.currentItem() + 1) % len(self.model.text_db) self.text_combo.setCurrentItem(self.current)