~mediascanner-team/mediascanner2/trunk

Viewing all changes in revision 319.

  • Committer: CI Train Bot
  • Author(s): James Henstridge
  • Date: 2015-12-16 08:04:40 UTC
  • mfrom: (317.2.3 qml-no-db-available)
  • Revision ID: ci-train-bot@canonical.com-20151216080440-vxrpc55880lzc737
If the mediascanner index can not be opened, catch the exception in the QML plugin and act as if the database is empty.  A warning is printed via Qt's logging framework.  This prevents QML apps using mediascanner from terminating if there is a problem opening the media index. Fixes: #1514517
Approved by: Michi Henning, PS Jenkins bot

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: