~robertcarr/unity/phablet-integrate-mir-junk-monday

Viewing all changes in revision 649.

  • Committer: Tarmac
  • Author(s): Daniel d'Andrada
  • Date: 2013-05-01 19:42:05 UTC
  • mfrom: (648.1.1 nullSearchHistory)
  • Revision ID: tarmac-20130501194205-moq04r7eii4ufdfx
Don't use searchHistory if it's null

During initialization, searchHistory from DashMusic is null for a moment,
when called from onIsCurrentChanged()

With this safeguard, we have one less warning during initialization :).

Approved by PS Jenkins bot, Albert Astals Cid.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: