diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-11-07 22:33:11 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-11-07 22:33:11 +0100 |
commit | 4bb3ca9452cb165d8ca8da5e3fc5bcfe1b9cfd1a (patch) | |
tree | 151d078b89a94ea10142c0979db8306119ad6865 /src/urlpanel.cpp | |
parent | Let suggestions work also without search engines ones. (diff) | |
parent | Bug when a bookmark contains a '&' fixed in some cases (diff) | |
download | rekonq-4bb3ca9452cb165d8ca8da5e3fc5bcfe1b9cfd1a.tar.xz |
Merge branch 'master' of git.kde.org:rekonq
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))); |