From 2b8c60a3d4452cce025d39cb48ab3bae757e973e Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Mon, 16 Feb 2015 10:28:28 +0100 Subject: [PATCH] now only Signal is imported from PySide avoiding overhead by importing SIGNAL additionally --- QtPyLoT.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QtPyLoT.py b/QtPyLoT.py index 160c5b7e..1b682b6f 100755 --- a/QtPyLoT.py +++ b/QtPyLoT.py @@ -249,7 +249,7 @@ class MainWindow(QMainWindow): QFileInfo(fname).fileName()), self) action.setData(fname) - self.connect(action, SIGNAL("triggered()"), + self.connect(action, Signal("triggered()"), self.loadData) self.fileMenu.addAction(action) self.fileMenu.addSeparator()