summaryrefslogtreecommitdiffstats
path: root/module/gui/LinkDock.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-03-28 22:32:14 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-06-28 02:47:08 +0200
commitb1fffc3a1b2dbbb807213b85f538e59251b9bf35 (patch)
treec373d3234dcb474bb424371a3d89341bed8a9e07 /module/gui/LinkDock.py
parentPlugins licensing doc (diff)
downloadpyload-b1fffc3a1b2dbbb807213b85f538e59251b9bf35.tar.xz
Remove bad whitespaces
Merged vuolter/pyload@00288e6
Diffstat (limited to 'module/gui/LinkDock.py')
-rw-r--r--module/gui/LinkDock.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/module/gui/LinkDock.py b/module/gui/LinkDock.py
index ac2d4aae5..66822218d 100644
--- a/module/gui/LinkDock.py
+++ b/module/gui/LinkDock.py
@@ -12,7 +12,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/>.
-
+
@author: mkaay
"""
@@ -27,7 +27,7 @@ class NewLinkDock(QDockWidget):
self.setWidget(self.widget)
self.setAllowedAreas(Qt.RightDockWidgetArea|Qt.LeftDockWidgetArea)
self.hide()
-
+
def slotDone(self):
text = str(self.widget.box.toPlainText())
lines = text.splitlines()
@@ -41,16 +41,16 @@ class NewLinkWindow(QWidget):
self.dock = dock
self.setLayout(QVBoxLayout())
layout = self.layout()
-
+
explanationLabel = QLabel("Select a package and then click Add button.")
boxLabel = QLabel("Paste URLs here:")
self.box = QTextEdit()
-
+
save = QPushButton("Add")
-
+
layout.addWidget(explanationLabel)
layout.addWidget(boxLabel)
layout.addWidget(self.box)
layout.addWidget(save)
-
+
self.connect(save, SIGNAL("clicked()"), self.dock.slotDone)