~stolowski/unity-scopes-shell/manage-dash-rtm

« back to all changes in this revision

Viewing changes to src/Unity/categories.cpp

  • Committer: Pawel Stolowski
  • Date: 2014-12-16 16:01:24 UTC
  • mfrom: (132.1.3 unity-scopes-shell)
  • Revision ID: pawel.stolowski@canonical.com-20141216160124-lxoemdhdhh6aqgcl
Merged rtm-14.09

Show diffs side-by-side

added added

removed removed

Lines of Context:
306
306
{
307
307
}
308
308
 
 
309
Categories::~Categories()
 
310
{
 
311
    // Pete Woods: Do not remove these clear methods unless you are doing
 
312
    // serious refactoring. Fixes: https://bugs.launchpad.net/ubuntu/+source/unity-scopes-shell/+bug/1394155
 
313
    m_categories.clear();
 
314
    m_categoryResults.clear();
 
315
}
 
316
 
309
317
int Categories::rowCount(const QModelIndex& parent) const
310
318
{
311
319
    Q_UNUSED(parent);