1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00

Hello Python: Remove semicolons from sidebar.py (E703)

Reviewers: #falkon, cullmann

Reviewed By: #falkon, cullmann

Subscribers: cullmann, falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D21386
This commit is contained in:
David Rosca 2019-06-01 10:26:33 +02:00
parent 2887d87ed5
commit 107e75b469
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8

View File

@ -30,11 +30,11 @@ class HelloSidebar(Falkon.SideBarInterface):
def createSideBarWidget(self, window): def createSideBarWidget(self, window):
w = QtWidgets.QWidget() w = QtWidgets.QWidget()
b = QtWidgets.QPushButton("Hello Python v0.0.1"); b = QtWidgets.QPushButton("Hello Python v0.0.1")
label = QtWidgets.QLabel() label = QtWidgets.QLabel()
label.setPixmap(QtGui.QPixmap(":icons/other/about.svg")); label.setPixmap(QtGui.QPixmap(":icons/other/about.svg"))
l = QtWidgets.QVBoxLayout(w); l = QtWidgets.QVBoxLayout(w)
l.addWidget(label); l.addWidget(label)
l.addWidget(b); l.addWidget(b)
w.setLayout(l); w.setLayout(l)
return w return w