Yes. Less magic the better On Wed, 1 Mar 2017 2:30 pm Martin Dobias <[email protected]> wrote:
> Hi Nyall > > On Wed, Mar 1, 2017 at 8:01 AM, Nyall Dawson <[email protected]> > wrote: > > Just want to raise a discussion about this. What does everyone think > > about these and whether we should be using them in code? > > > > I'm currently leaning toward opening a QEP for blocking them in new > > code. Reasons are: > > > > - they are very fragile. Renaming a widget will break the connection > > without any compilation error. > > - they make searching for widget use harder. You can't use QtCreator's > > handy "find usages" option (or the equivalent in other IDEs). You have > > to resort to a plain text search. > > > > I'd much prefer to see explicit connections made using new style > > connects so we gain the compile time error if anything breaks the > > connection. > > Agreed! Explicit connections are much better... > > Cheers > Martin > _______________________________________________ > Qgis-developer mailing list > [email protected] > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________ Qgis-developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
