now only Signal is imported from PySide avoiding overhead by importing SIGNAL additionally

This commit is contained in:
Sebastian Wehling-Benatelli 2015-02-16 10:28:28 +01:00
parent d477467b02
commit 2b8c60a3d4

View File

@ -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()