Fixed a little issue in the AdBlock icon. 6_1_x

Sat, 19 Mar 2016 17:30:05 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 19 Mar 2016 17:30:05 +0100
branch
6_1_x
changeset 4877
2ef641412a63
parent 4874
8dbca5b1f89c
child 4879
8e5ff8d71328

Fixed a little issue in the AdBlock icon.
(grafted from 686e69aecdb5353cb083c937f02ea30dc9561bd7)

Helpviewer/AdBlock/AdBlockIcon.py file | annotate | diff | comparison | revisions
ViewManager/ViewManager.py file | annotate | diff | comparison | revisions
--- a/Helpviewer/AdBlock/AdBlockIcon.py	Sat Mar 19 15:27:52 2016 +0100
+++ b/Helpviewer/AdBlock/AdBlockIcon.py	Sat Mar 19 17:30:05 2016 +0100
@@ -122,7 +122,7 @@
         @return reference to the menu action (QAction)
         """
         if not self.__menuAction:
-            self.__menuAction = QAction(self.tr("AdBlock"))
+            self.__menuAction = QAction(self.tr("AdBlock"), self)
             self.__menuAction.setMenu(QMenu())
             self.__menuAction.menu().aboutToShow.connect(self.__createMenu)
         
--- a/ViewManager/ViewManager.py	Sat Mar 19 15:27:52 2016 +0100
+++ b/ViewManager/ViewManager.py	Sat Mar 19 17:30:05 2016 +0100
@@ -11,7 +11,7 @@
 
 import os
 
-from PyQt5.QtCore import pyqtSignal, QSignalMapper, QTimer, \
+from PyQt5.QtCore import pyqtSignal, pyqtSlot, QSignalMapper, QTimer, \
     QFileInfo, QRegExp, QObject, Qt, QCoreApplication
 from PyQt5.QtGui import QColor, QKeySequence, QPalette, QPixmap
 from PyQt5.QtWidgets import QLineEdit, QToolBar, QWidgetAction, QDialog, \
@@ -6562,6 +6562,7 @@
         if editor:
             self.editorRenamedEd.emit(editor)
         
+##    @pyqtSlot(str, int, int)
     def __cursorChanged(self, fn, line, pos):
         """
         Private slot to handle the cursorChanged signal.

eric ide

mercurial