diff -r 6a3899e91d76 -r 34528aaedf1c E5Gui/E5ModelMenu.py --- a/E5Gui/E5ModelMenu.py Fri Aug 06 12:55:39 2010 +0200 +++ b/E5Gui/E5ModelMenu.py Fri Aug 06 14:41:22 2010 +0200 @@ -42,7 +42,7 @@ self.__dropRow = -1 self.__dropIndex = None - self.connect(self, SIGNAL("aboutToShow()"), self.__aboutToShow) + self.aboutToShow.connect(self.__aboutToShow) self.connect(self, SIGNAL("triggered(QAction*)"), self.__actionTriggered) def prePopulated(self): @@ -387,7 +387,7 @@ if not self.isAncestorOf(drag.target()): self.close() else: - self.emit(SIGNAL("aboutToShow()")) + self.aboutToShow.emit() def mouseReleaseEvent(self, evt): """ @@ -414,4 +414,4 @@ """ row = idx.row() self.__model.removeRow(row, self.__root) - self.emit(SIGNAL("aboutToShow()")) \ No newline at end of file + self.aboutToShow.emit()