From 7a34c3321d1d36a9b20fb9116b33b8c8a9181e82 Mon Sep 17 00:00:00 2001 From: Oscar Blumberg Date: Fri, 23 Feb 2007 02:28:27 +0000 Subject: Change the behavior of the info sidebar to show the preview of the current selection. svn path=/trunk/KDE/kdebase/apps/; revision=636423 --- src/infosidebarpage.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/infosidebarpage.h') diff --git a/src/infosidebarpage.h b/src/infosidebarpage.h index cebb7f4aa..5509ed1f4 100644 --- a/src/infosidebarpage.h +++ b/src/infosidebarpage.h @@ -128,11 +128,12 @@ private: void connectToActiveView(); /** - * Checks whether the current Url is repesented by a bookmark. If yes, + * Checks whether the an Url is repesented by a bookmark. If yes, * then the bookmark icon and name are shown instead of a preview. * @return True, if the Url represents exactly a bookmark. + * @param url The url to check. */ - bool applyBookmark(); + bool applyBookmark(const KUrl& url); /** Assures that any pending item information request is cancelled. */ void cancelRequest(); -- cgit v1.3