Plugins/ViewManagerPlugins/Tabview/Tabview.py

changeset 458
1695e7a2db54
parent 425
ca5e65413fc5
child 461
34528aaedf1c
--- a/Plugins/ViewManagerPlugins/Tabview/Tabview.py	Thu Aug 05 08:39:56 2010 +0200
+++ b/Plugins/ViewManagerPlugins/Tabview/Tabview.py	Fri Aug 06 12:39:40 2010 +0200
@@ -205,8 +205,7 @@
         self.contextMenuIndex = -1
         
         self.setTabContextMenuPolicy(Qt.CustomContextMenu)
-        self.connect(self, SIGNAL('customTabContextMenuRequested(const QPoint &, int)'),
-                     self.__showContextMenu)
+        self.customTabContextMenuRequested.connect(self.__showContextMenu)
         
         ericPic = QPixmap(os.path.join(getConfig('ericPixDir'), 'eric_small.png'))
         self.emptyLabel = QLabel()

eric ide

mercurial