summaryrefslogtreecommitdiff
path: root/src/urlpanel.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-01-09 10:22:41 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-01-09 10:22:41 +0100
commit622346cb4adc281d93bb777cad625610029c260d (patch)
treefbd5f3ddf9ddc7dd0555f07b404c5e4f0fdf8a5d /src/urlpanel.cpp
parentPut ioslaves on hold. (diff)
downloadrekonq-622346cb4adc281d93bb777cad625610029c260d.tar.xz
Automatically expand grouped search in panels
GCI Task by Furkan Uzumcu
Diffstat (limited to 'src/urlpanel.cpp')
-rw-r--r--src/urlpanel.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/urlpanel.cpp b/src/urlpanel.cpp
index d7ddd896..e92b701a 100644
--- a/src/urlpanel.cpp
+++ b/src/urlpanel.cpp
@@ -99,8 +99,14 @@ void UrlPanel::setup()
_treeView->setModel(proxy);
connect(search, SIGNAL(textChanged(QString)), proxy, SLOT(setFilterFixedString(QString)));
+ connect(search, SIGNAL(textChanged(QString)), this, SLOT(expandTreeView()));
connect(_treeView, SIGNAL(contextMenuItemRequested(const QPoint &)), this, SLOT(contextMenuItem(const QPoint &)));
connect(_treeView, SIGNAL(contextMenuGroupRequested(const QPoint &)), this, SLOT(contextMenuGroup(const QPoint &)));
connect(_treeView, SIGNAL(contextMenuEmptyRequested(const QPoint &)), this, SLOT(contextMenuEmpty(const QPoint &)));
}
+
+void UrlPanel::expandTreeView()
+{
+ _treeView->expandAll();
+}