~artmello/gallery-app/gallery-app-fix_crash_adding_files

« back to all changes in this revision

Viewing changes to src/media/media-source.cpp

  • Committer: Guenter Schwann
  • Date: 2013-06-10 07:37:09 UTC
  • mto: (684.7.2 gallery-qt-style-photo)
  • mto: This revision was merged to the branch mainline in revision 702.
  • Revision ID: guenter.schwann@canonical.com-20130610073709-vvo347appx2k6ltd
Use Qt coding style for database

Show diffs side-by-side

added added

removed removed

Lines of Context:
352
352
    emit sizeChanged();
353
353
 
354
354
    if (m_id != INVALID_ID)
355
 
        GalleryManager::instance()->database()->get_media_table()->set_media_size(m_id, m_size);
 
355
        GalleryManager::instance()->database()->getMediaTable()->setMediaSize(m_id, m_size);
356
356
}