changeset 29 | 26b6f0522fd8 |
parent 25 | 98b66e4fb0be |
child 33 | 8110bf1194d1 |
25:98b66e4fb0be | 29:26b6f0522fd8 |
---|---|
74 switch(role) |
74 switch(role) |
75 { |
75 { |
76 case TextRole: |
76 case TextRole: |
77 { |
77 { |
78 QString text(""); |
78 QString text(""); |
79 if ( mNrOfUpdates == 1 ) |
79 if ( mNrOfUpdates > 0 ) |
80 text.append(QString("Updates available")); |
80 text.append(QString("Updates available")); |
81 else |
81 else |
82 text.append(QString("Check for updates?")); |
82 text.append(QString("Check for updates?")); |
83 return text; |
83 return text; |
84 } |
84 } |