From ef947355c50cfbfff9417050b3668ce18b6f5e3d Mon Sep 17 00:00:00 2001 From: Dmitriy Marmyshev Date: Wed, 16 Jan 2013 03:59:04 +0400 Subject: [PATCH] style fixing --- openlp/core/ui/slidecontroller.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openlp/core/ui/slidecontroller.py b/openlp/core/ui/slidecontroller.py index 2f8b48d8d..d3c59c783 100644 --- a/openlp/core/ui/slidecontroller.py +++ b/openlp/core/ui/slidecontroller.py @@ -205,7 +205,7 @@ class SlideController(DisplayController): self.hideMenu.menu().addAction(self.blankScreen) self.hideMenu.menu().addAction(self.themeScreen) self.hideMenu.menu().addAction(self.desktopScreen) - #Wide menu of display control buttons + # Wide menu of display control buttons. self.wideMenu1 = QtGui.QToolButton(self.toolbar) self.wideMenu1.setObjectName(u'wideMenu1') self.toolbar.addToolbarWidget(self.wideMenu1) @@ -590,15 +590,15 @@ class SlideController(DisplayController): width = self.parent().controlSplitter.sizes()[self.split] for framenumber in range(len(self.serviceItem.get_frames())): self.previewListWidget.setRowHeight(framenumber, width / self.ratio) - self.onControllerSizeChanged(self.controller.width() , self.controller.height()) + self.onControllerSizeChanged(self.controller.width(), self.controller.height()) - def onControllerSizeChanged(self, width, height): + def onControllerSizeChanged(self, width, height): """ Change layout of display control buttons on controller size change """ if self.isLive: if width > 300 and self.hideMenu.isVisible(): - self.toolbar.setWidgetVisible(self.hideMenuList, False) + self.toolbar.setWidgetVisible(self.hideMenuList, False) self.toolbar.setWidgetVisible(self.wideMenu) elif width < 300 and not self.hideMenu.isVisible(): self.toolbar.setWidgetVisible(self.wideMenu, False)