~brandontschaefer/unity/dash-root-reference-error-fix

« back to all changes in this revision

Viewing changes to Dash/DashVideos.qml

  • Committer: Brandon Schaefer
  • Date: 2013-04-04 21:07:03 UTC
  • Revision ID: brandon.schaefer@canonical.com-20130404210703-4ogqep14yfontamr
* Fixes these 3 errors.
Dash/DashVideos.qml:142: ReferenceError: root is not defined
Dash/DashMusic.qml:94: ReferenceError: root is not defined
Dash/DashPeople.qml:118: ReferenceError: root is not defined

* The only place I saw search histroy was under LensView, so I assumed thats
  what was suppose to be used.

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
            width: categoryView.width
140
140
            text: "Videos"
141
141
            searchEntryEnabled: true
142
 
            searchHistory: root.searchHistory
 
142
            searchHistory: lensView.searchHistory
143
143
        }
144
144
    }
145
145