Skip to content

Commit

Permalink
fix some more signals for pyqtwrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 27, 2016
1 parent 36b1db0 commit 7e2caa6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions python/PyQt/PyQt4/QtCore.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@
__revision__ = '$Format:%H$'

from PyQt4.QtCore import *
from PyQt4.QtGui import QItemSelectionModel, QSortFilterProxyModel
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/AlgorithmDialogBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def __init__(self, alg):

def linkClicked(url):
webbrowser.open(url.toString())
self.textShortHelp.connect(self.textShortHelp, SIGNAL("anchorClicked(const QUrl&)"), linkClicked)
self.textShortHelp.anchorClicked.connect(linkClicked)

self.textHelp.page().setNetworkAccessManager(QgsNetworkAccessManager.instance())

Expand Down
9 changes: 9 additions & 0 deletions scripts/qgis_fixes/fix_signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ class FixSignals(fixer_base.BaseFix):
')'
>
>
|
power<
emitter=any trailer< '.' 'emit' >
trailer<
'('
args=power< 'SIGNAL' trailer< '(' signal=any ')' > >
')'
>
>
)
"""

Expand Down

0 comments on commit 7e2caa6

Please sign in to comment.