bug1743fix.diff

Fix for mapserver export plugin to not require qt3support - John Tull, 2010-04-07 10:32 AM

Download (774 Bytes)

View differences:

python/plugins/mapserver_export/mapserverexport.py (working copy)
59 59
    self.action = QAction(self.getThemeIcon("mapserver_export.png"), \
60 60
        "MapServer Export", self.iface.mainWindow())
61 61
    # connect the action to the run method
62
    QObject.connect(self.action, SIGNAL("activated()"), self.run) 
62
    QObject.connect(self.action, SIGNAL("triggered()"), self.run) 
63 63
    QObject.connect(self.iface, SIGNAL("currentThemeChanged ( QString )"), self.setCurrentTheme)
64 64
    # Add toolbar button and menu item
65 65
    self.iface.addToolBarIcon(self.action)