diff options
| author | Peter Penz <[email protected]> | 2008-10-08 19:10:00 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-10-08 19:10:00 +0000 |
| commit | 7de3ccbf54ee3a2f7c751a2ba5352d3122d5126e (patch) | |
| tree | d8099f0a5e4f3529ede43a82836d31ced9eb96fe /src/infosidebarpage.h | |
| parent | 73a8d074c14fe7d1df19e71ddb3e4f5c0afe0809 (diff) | |
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
Diffstat (limited to 'src/infosidebarpage.h')
| -rw-r--r-- | src/infosidebarpage.h | 5 |
1 files changed, 5 insertions, 0 deletions
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(); |
