[QGIS-trac] [Quantum GIS] #1654: SIGNAL ( activated ()) in plugins is deprecated and cause plugins malfunction

Quantum GIS qgis at qgis.org
Sat Apr 25 14:56:57 EDT 2009


#1654: SIGNAL ( activated ()) in plugins is deprecated and cause plugins
malfunction
------------------------------------------------+---------------------------
   Reporter:  vince                             |              Owner:  nobody
       Type:  bug                               |             Status:  new   
   Priority:  major: does not work as expected  |          Milestone:        
  Component:  Plugins                           |            Version:  HEAD  
   Keywords:  Deprecated signal used            |   Platform_version:        
   Platform:  OS X                              |           Must_fix:  No    
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 At several places in the plugins code, the activated () signal of the
 QAction class is used to signal the plugin it has been activated. This is
 wrong : this signal has disappeared from Qt4 and if QT4 is not compiled
 with the Qt3 backward compatibility, it is simply non existent, so no
 plugin can be called at all.

 Please replace activated () by triggered () (It fixes the bug).

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1654>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list