only show browser close menu item on mac

This commit is contained in:
Damien Elmes 2013-05-31 14:16:37 +09:00
parent ec888eb2aa
commit 9101867224

View File

@ -376,6 +376,8 @@ class Browser(QMainWindow):
def setupMenus(self):
# actions
c = self.connect; f = self.form; s = SIGNAL("triggered()")
if not isMac:
f.actionClose.setVisible(False)
c(f.actionReposition, s, self.reposition)
c(f.actionReschedule, s, self.reschedule)
c(f.actionCram, s, self.cram)