diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-01-27 01:47:55 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-01-27 01:47:55 +0100 |
commit | a0b27fd9c8cec145c8c16d0ab5f99d030ced7fb8 (patch) | |
tree | 4dd3f661648366b6899ad055f3061f154cc7aef6 /src/webwindow/findbar.cpp | |
parent | Fix kpart window half shown (diff) | |
download | rekonq-a0b27fd9c8cec145c8c16d0ab5f99d030ced7fb8.tar.xz |
Fix tab when showing a kpart. Let also see title where needed
Diffstat (limited to 'src/webwindow/findbar.cpp')
-rw-r--r-- | src/webwindow/findbar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webwindow/findbar.cpp b/src/webwindow/findbar.cpp index 5f7d36e2..6bf9ac0d 100644 --- a/src/webwindow/findbar.cpp +++ b/src/webwindow/findbar.cpp @@ -150,7 +150,7 @@ void FindBar::setVisible(bool visible) if (visible && w->page()->isOnRekonqPage() - && w->view()->part() != 0) + && w->tabView()->part() != 0) { // findNext is the slot containing part integration code findNext(); @@ -230,7 +230,7 @@ void FindBar::findNext() if (w->page()->isOnRekonqPage()) { // trigger part find action - KParts::ReadOnlyPart *p = w->view()->part(); + KParts::ReadOnlyPart *p = w->tabView()->part(); if (p) { // connect(this, SIGNAL(triggerPartFind()), p, SLOT(slotFind())); |