~mzanetti/unity8/fix-left-edge-on-spread

« back to all changes in this revision

Viewing changes to plugins/Unity/Launcher/launchermodel.cpp

  • Committer: Michael Zanetti
  • Date: 2015-01-12 11:21:17 UTC
  • mfrom: (1459.1.85 unity8)
  • Revision ID: michael.zanetti@canonical.com-20150112112117-0x9srs9dx0ndp60g
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
370
370
            int idx = m_list.indexOf(item);
371
371
            item->setName(desktopFile.displayName());
372
372
            item->setIcon(desktopFile.icon());
 
373
            item->setPinned(item->pinned()); // update pinned text if needed
373
374
            Q_EMIT dataChanged(index(idx), index(idx), QVector<int>() << RoleName << RoleIcon);
374
375
        }
375
376
    }