Code review comment for lp:~unity-api-team/ubuntu-system-settings/apneditor

Revision history for this message
Antti Kaijanmäki (kaijanmaki) wrote :

Fixed by the review comments in r980. The only non-trivial comments are:

Ken VanDine (ken-vandine) wrote:
> I think you shouldn't be anchoring to the buttonRectangle,
> the buttonRectangle should be in the Flickable.

Yes. I know, but in this case the user usually just enters two of the top fields and having the buttons always visible has some value. I took great care on verifying that the buttons react properly on the viewport changes. If I get it to break on my last testing round, then I will put the buttons inside the flickable, OK?

Ken VanDine (ken-vandine) wrote:
> Does this really return an empty list?
> Perhaps it would be safer to set connections to a QStringList()

the connection list is an array of object paths. QDBusPendingReply quarantees that .value() returns a default constructed T, which in this case is an empty array of dbus-paths.

For the logic that follows it's really irrelevant if an empty list is received (that is also a valid reply).

« Back to merge proposal