[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/libs/webkitkde/part
From: Dawit Alemayehu <adawit () kde ! org>
Date: 2010-01-26 23:16:12
Message-ID: 1264547772.994468.11006.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1080785 by adawit:
Reset and hide the search bar, if visible, when a new page gets loaded
M +7 -3 kwebkitpart_p.cpp
--- trunk/playground/libs/webkitkde/part/kwebkitpart_p.cpp #1080784:1080785
@@ -88,6 +88,10 @@
q, SIGNAL(setStatusBarText(const QString &)));
connect(webView, SIGNAL(linkShiftClicked(const KUrl &)),
webPage, SLOT(downloadUrl(const KUrl &)));
+ connect(webView, SIGNAL(loadStarted()),
+ searchBar, SLOT(hide()));
+ connect(webView, SIGNAL(loadStarted()),
+ searchBar, SLOT(clear()));
browserExtension = new WebKitBrowserExtension(q);
connect(webPage, SIGNAL(loadProgress(int)),
@@ -159,9 +163,9 @@
NOTE #2: QWebFrame::metaData only provides access to META tags that
contain a 'name' attribute and completely ignores those that do not.
- This of course includes yes the meta redirect tag, i.e. the 'http-equiv'
- attribute. Hence the convoluted code below just to check if we have a
- redirect request!
+ This of course includes other META redirect tags such as 'http-equiv'.
+ Hence the convoluted code below is needed to extract the META redirect
+ period from the list of META tags...
*/
#if 0
bool refresh = false;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic