summaryrefslogtreecommitdiff
path: root/src/urlpanel.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-11-07 22:33:11 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-11-07 22:33:11 +0100
commit4bb3ca9452cb165d8ca8da5e3fc5bcfe1b9cfd1a (patch)
tree151d078b89a94ea10142c0979db8306119ad6865 /src/urlpanel.cpp
parentLet suggestions work also without search engines ones. (diff)
parentBug when a bookmark contains a '&' fixed in some cases (diff)
downloadrekonq-4bb3ca9452cb165d8ca8da5e3fc5bcfe1b9cfd1a.tar.xz
Merge branch 'master' of git.kde.org:rekonq
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)));