mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +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:
parent
2887d87ed5
commit
107e75b469
|
@ -30,11 +30,11 @@ class HelloSidebar(Falkon.SideBarInterface):
|
|||
|
||||
def createSideBarWidget(self, window):
|
||||
w = QtWidgets.QWidget()
|
||||
b = QtWidgets.QPushButton("Hello Python v0.0.1");
|
||||
b = QtWidgets.QPushButton("Hello Python v0.0.1")
|
||||
label = QtWidgets.QLabel()
|
||||
label.setPixmap(QtGui.QPixmap(":icons/other/about.svg"));
|
||||
l = QtWidgets.QVBoxLayout(w);
|
||||
l.addWidget(label);
|
||||
l.addWidget(b);
|
||||
w.setLayout(l);
|
||||
label.setPixmap(QtGui.QPixmap(":icons/other/about.svg"))
|
||||
l = QtWidgets.QVBoxLayout(w)
|
||||
l.addWidget(label)
|
||||
l.addWidget(b)
|
||||
w.setLayout(l)
|
||||
return w
|
||||
|
|
Loading…
Reference in New Issue
Block a user