now only Signal is imported from PySide avoiding overhead by importing SIGNAL additionally
This commit is contained in:
parent
d477467b02
commit
2b8c60a3d4
@ -249,7 +249,7 @@ class MainWindow(QMainWindow):
|
|||||||
QFileInfo(fname).fileName()),
|
QFileInfo(fname).fileName()),
|
||||||
self)
|
self)
|
||||||
action.setData(fname)
|
action.setData(fname)
|
||||||
self.connect(action, SIGNAL("triggered()"),
|
self.connect(action, Signal("triggered()"),
|
||||||
self.loadData)
|
self.loadData)
|
||||||
self.fileMenu.addAction(action)
|
self.fileMenu.addAction(action)
|
||||||
self.fileMenu.addSeparator()
|
self.fileMenu.addSeparator()
|
||||||
|
Loading…
Reference in New Issue
Block a user