25 Jun
2008
25 Jun
'08
13:29
Stefan Hundhammer wrote:
/local_home/sh/yast2/trunk/qt-pkg/src/YQPkgObjList.cc:540: warning: 'hasInstalledObj' is deprecated (declared at /usr/include/zypp/ui/Selectable.h:163)
OK. So that function is deprecated. Hopefully there is a substitute for it that does the same thing in some modern, fancy way. But...
The replacement is just installedEmpty and no, it was not deprecated for fun. As there is no longer _one_ installed object, it is consistent to ask for the emptyness or the size of the container of installed objects. Duncan -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org