remove conflicting close window shortcut

This commit is contained in:
Damien Elmes 2010-08-09 08:45:32 +09:00
parent bb73e21c64
commit 5e62fea9c8

View file

@ -395,10 +395,6 @@ class EditDeck(QMainWindow):
if self.parent.currentCard:
self.currentCard = self.parent.currentCard
self.updateSearch()
if sys.platform.startswith("darwin"):
self.macCloseShortcut = QShortcut(QKeySequence("Ctrl+w"), self)
self.connect(self.macCloseShortcut, SIGNAL("activated()"),
self.close)
def findCardInDeckModel(self):
for i, thisCard in enumerate(self.model.cards):