~rpadovani/webbrowser-app/settings-page

« back to all changes in this revision

Viewing changes to src/app/webbrowser/Browser.qml

  • Committer: Riccardo Padovani
  • Date: 2015-03-25 18:01:23 UTC
  • Revision ID: rpadovani@ubuntu.com-20150325180123-myua4s3q8cjbl0ac
Improve management of historyModel in SettingsPage, expose count property of historyModel

Show diffs side-by-side

added added

removed removed

Lines of Context:
520
520
 
521
521
            SettingsPage {
522
522
                anchors.fill: parent
523
 
                onHistoryRemoved: browser.historyModel.clearAll()
 
523
                historyModel: browser.historyModel
524
524
                onRestoreDefaults: settings.restoreDefaults()
525
525
                onDone: destroy()
526
526
            }