diff options
Diffstat (limited to 'src/urlpanel.cpp')
-rw-r--r-- | src/urlpanel.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/urlpanel.cpp b/src/urlpanel.cpp index b3e8b2f3..d7ddd896 100644 --- a/src/urlpanel.cpp +++ b/src/urlpanel.cpp @@ -94,9 +94,8 @@ void UrlPanel::setup() ui->setLayout(vBoxLayout); setWidget(ui); - QAbstractItemModel *model = getModel(); UrlFilterProxyModel *proxy = new UrlFilterProxyModel(this); - proxy->setSourceModel(model); + proxy->setSourceModel(model()); _treeView->setModel(proxy); connect(search, SIGNAL(textChanged(QString)), proxy, SLOT(setFilterFixedString(QString))); |