Merge lp:~loic.molinari/ubuntu-ui-toolkit/ubuntu-ui-toolkit-unused-variables-removal into lp:ubuntu-ui-toolkit/staging

Proposed by Loïc Molinari
Status: Merged
Approved by: Zsombor Egri
Approved revision: 1384
Merged at revision: 1384
Proposed branch: lp:~loic.molinari/ubuntu-ui-toolkit/ubuntu-ui-toolkit-unused-variables-removal
Merge into: lp:ubuntu-ui-toolkit/staging
Diff against target: 23 lines (+0/-2)
2 files modified
modules/Ubuntu/Components/plugin/uclistitem.cpp (+0/-1)
modules/Ubuntu/Components/plugin/ucviewitemsattached.cpp (+0/-1)
To merge this branch: bzr merge lp:~loic.molinari/ubuntu-ui-toolkit/ubuntu-ui-toolkit-unused-variables-removal
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Zsombor Egri Approve
Review via email: mp+247043@code.launchpad.net

Commit message

Removed unused variables breaking debug builds.

Description of the change

Removed unused variables breaking debug builds.

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
Zsombor Egri (zsombi) wrote :

This is weird... The original setup does pass on my env, and even on CI did... Thanks of the fix!

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'modules/Ubuntu/Components/plugin/uclistitem.cpp'
2--- modules/Ubuntu/Components/plugin/uclistitem.cpp 2015-01-16 14:52:17 +0000
3+++ modules/Ubuntu/Components/plugin/uclistitem.cpp 2015-01-20 16:59:31 +0000
4@@ -414,7 +414,6 @@
5 {
6 setHighlighted(false);
7 // initiate rebinding only if there were actions tugged
8- Q_Q(UCListItem);
9 if (!UCActionPanel::isConnected(leadingPanel) &&
10 !UCActionPanel::isConnected(trailingPanel)) {
11 return;
12
13=== modified file 'modules/Ubuntu/Components/plugin/ucviewitemsattached.cpp'
14--- modules/Ubuntu/Components/plugin/ucviewitemsattached.cpp 2015-01-06 06:11:00 +0000
15+++ modules/Ubuntu/Components/plugin/ucviewitemsattached.cpp 2015-01-20 16:59:31 +0000
16@@ -75,7 +75,6 @@
17 void UCViewItemsAttachedPrivate::clearChangesList()
18 {
19 // clear property change objects
20- Q_Q(UCViewItemsAttached);
21 Q_FOREACH(PropertyChange *change, changes) {
22 // deleting PropertyChange will restore the saved property
23 // to its original binding/value

Subscribers

People subscribed via source and target branches