Merge lp:~ken-vandine/ubuntu-system-settings/lp1371810 into lp:ubuntu-system-settings

Proposed by Ken VanDine
Status: Merged
Approved by: Sebastien Bacher
Approved revision: 1063
Merged at revision: 1068
Proposed branch: lp:~ken-vandine/ubuntu-system-settings/lp1371810
Merge into: lp:ubuntu-system-settings
Diff against target: 12 lines (+2/-0)
1 file modified
plugins/system-update/system_update.cpp (+2/-0)
To merge this branch: bzr merge lp:~ken-vandine/ubuntu-system-settings/lp1371810
Reviewer Review Type Date Requested Status
Sebastien Bacher (community) Approve
PS Jenkins bot continuous-integration Needs Fixing
Review via email: mp+235514@code.launchpad.net

Commit message

Set the version information in the SystemUpdate constructor (LP: #1371810)

Description of the change

Set the version information in the SystemUpdate constructor (LP: #1371810)

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Sebastien Bacher (seb128) wrote :

Could you explain what is happening when the version is not set?

review: Needs Information
Revision history for this message
Ken VanDine (ken-vandine) wrote :

This dbus call sets several properties, the getter for those properties all call this method when they aren't set. So we end up with several dbus calls on load.

Revision history for this message
Sebastien Bacher (seb128) wrote :

ok, thanks

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/system-update/system_update.cpp'
2--- plugins/system-update/system_update.cpp 2014-09-11 20:24:35 +0000
3+++ plugins/system-update/system_update.cpp 2014-09-22 18:41:50 +0000
4@@ -67,6 +67,8 @@
5 this, SIGNAL(updateFailed(int, QString)));
6 connect(&m_SystemServiceIface, SIGNAL(SettingChanged(QString, QString)),
7 this, SLOT(ProcessSettingChanged(QString, QString)));
8+
9+ setCurrentDetailedVersion();
10 }
11
12 SystemUpdate::~SystemUpdate() {

Subscribers

People subscribed via source and target branches