videocollection/videocollectionwrapper/src/videosortfilterproxymodel.cpp
changeset 55 4bfa887905cf
parent 50 21fe8338c6bf
equal deleted inserted replaced
50:21fe8338c6bf 55:4bfa887905cf
    13 *
    13 *
    14 * Description:   Videosortfilterproxymodel implementation
    14 * Description:   Videosortfilterproxymodel implementation
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version: 66.1.8 %
    18 // Version : %version: 66.1.9 %
    19 
    19 
    20 // INCLUDE FILES
    20 // INCLUDE FILES
    21 #include <qstringlist.h>
    21 #include <qstringlist.h>
    22 #include <qset.h>
    22 #include <qset.h>
    23 #include <qtimer.h>
    23 #include <qtimer.h>
   358     
   358     
   359         // Another case is when we need to change the sort order, as there is
   359         // Another case is when we need to change the sort order, as there is
   360         // no other way of setting the sort order than calling sort().
   360         // no other way of setting the sort order than calling sort().
   361         sort(0, mWantedSortOrder);
   361         sort(0, mWantedSortOrder);
   362     }
   362     }
   363     
   363 
   364     // Start fetching thumbnails at start of the model.
   364     emit modelSorted();
   365     VideoThumbnailData::instance().startBackgroundFetching(0, 0);
       
   366 }
   365 }
   367 
   366 
   368 // -----------------------------------------------------------------------------
   367 // -----------------------------------------------------------------------------
   369 // VideoSortFilterProxyModel::lessThan
   368 // VideoSortFilterProxyModel::lessThan
   370 // -----------------------------------------------------------------------------
   369 // -----------------------------------------------------------------------------