--- a/Snapshot/SnapshotTimer.py Fri Oct 18 23:00:41 2013 +0200 +++ b/Snapshot/SnapshotTimer.py Fri Nov 01 15:48:48 2013 +0100 @@ -101,7 +101,8 @@ painter.setBrush(textBackgroundColor) helpText = self.trUtf8("Snapshot will be taken in %n seconds", "", self.__length - self.__time) - textRect = painter.boundingRect(self.rect().adjusted(2, 2, -2, -2), + textRect = painter.boundingRect( + self.rect().adjusted(2, 2, -2, -2), Qt.AlignHCenter | Qt.TextSingleLine, helpText) painter.drawText(textRect, Qt.AlignHCenter | Qt.TextSingleLine, helpText) @@ -115,8 +116,8 @@ screenGeom = QApplication.desktop().screenGeometry() if self.x() == screenGeom.left(): self.move( - screenGeom.x() + (screenGeom.width() // 2 - \ - self.size().width() // 2), + screenGeom.x() + + (screenGeom.width() // 2 - self.size().width() // 2), screenGeom.top()) else: self.move(screenGeom.topLeft())