From 7de3ccbf54ee3a2f7c751a2ba5352d3122d5126e Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 8 Oct 2008 19:10:00 +0000 Subject: Don't request any meta data, if the requested URL is equal to the currently shown URL. This is especially important when opening a directory, where the meta info has been requested twice (the first time on hovering a directory, the second time when opening - now when opening the directory no meta data is requested at all). Further performance improvements will follow... svn path=/trunk/KDE/kdebase/apps/; revision=869328 --- src/infosidebarpage.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/infosidebarpage.h') diff --git a/src/infosidebarpage.h b/src/infosidebarpage.h index 97d63afa9..ff7e1d0d7 100644 --- a/src/infosidebarpage.h +++ b/src/infosidebarpage.h @@ -159,6 +159,11 @@ private: * InfosidebarPage::fileUrl(); */ bool showMultipleSelectionInfo() const; + + /** + * Returns true, if \a url is equal to the shown URL m_shownUrl. + */ + bool isEqualToShownUrl(const KUrl& url) const; void init(); -- cgit v1.3