~ubuntu-branches/ubuntu/utopic/qmenumodel/utopic-proposed

« back to all changes in this revision

Viewing changes to libqmenumodel/src/unitymenumodel.cpp

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Antti Kaijanmäki
  • Date: 2014-05-14 11:38:43 UTC
  • mfrom: (1.1.16)
  • Revision ID: package-import@ubuntu.com-20140514113843-8pe9i9qdu3fhxbv8
Tags: 0.2.7+14.10.20140514.1-0ubuntu1
[ Antti Kaijanmäki ]
Add standard "has the property actually changed"
check to UnityMenuModel::setBusName()

Show diffs side-by-side

added added

removed removed

Lines of Context:
292
292
 
293
293
void UnityMenuModel::setBusName(const QByteArray &name)
294
294
{
 
295
    if (name == priv->busName)
 
296
        return;
 
297
 
295
298
    priv->clearName();
296
299
 
297
300
    if (priv->nameWatchId)