From 5e62fea9c810ead10cea5515fac6d1ab87f90057 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 9 Aug 2010 08:45:32 +0900 Subject: [PATCH] remove conflicting close window shortcut --- ankiqt/ui/cardlist.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ankiqt/ui/cardlist.py b/ankiqt/ui/cardlist.py index e88e3ee21..f61340729 100644 --- a/ankiqt/ui/cardlist.py +++ b/ankiqt/ui/cardlist.py @@ -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):