From 124099ac4ce7b0cd510b4473fd1793d1e7a21065 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 25 Aug 2015 21:18:45 +0200 Subject: [PATCH] Fix docstrings. --- qutebrowser/mainwindow/statusbar/progress.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qutebrowser/mainwindow/statusbar/progress.py b/qutebrowser/mainwindow/statusbar/progress.py index a1382d465..574fc2c46 100644 --- a/qutebrowser/mainwindow/statusbar/progress.py +++ b/qutebrowser/mainwindow/statusbar/progress.py @@ -77,11 +77,10 @@ class Progress(QProgressBar): self.hide() def sizeHint(self): - """Set the height to the text height plus some padding.""" + """Set the height to the text height.""" width = super().sizeHint().width() height = self.fontMetrics().height() return QSize(width, height) def minimumSizeHint(self): - """Set the height to the text height plus some padding.""" return self.sizeHint()