summaryrefslogtreecommitdiff
path: root/src/urlpanel.cpp
diff options
context:
space:
mode:
authorJon Ander Peñalba <jonan88@gmail.com>2010-10-22 19:21:11 +0200
committerJon Ander Peñalba <jonan88@gmail.com>2010-11-07 11:37:11 +0100
commit4ba9903ccb5982d7d49b37850fffd47dc3e5da40 (patch)
treed257cfea11f9f548bfcd5f3077f0e0b076cbdee9 /src/urlpanel.cpp
parentFunction renamed (diff)
downloadrekonq-4ba9903ccb5982d7d49b37850fffd47dc3e5da40.tar.xz
BookmarksPanel API improved
Diffstat (limited to 'src/urlpanel.cpp')
-rw-r--r--src/urlpanel.cpp3
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)));