diff options
| author | Peter Penz <[email protected]> | 2007-07-08 20:32:41 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-07-08 20:32:41 +0000 |
| commit | 77d3d3724676103b29bf80bbe9c8a0f5b1fee57c (patch) | |
| tree | cf7d9cab8b1c6a55f73b29be3a265e172a6affd3 /src/infosidebarpage.cpp | |
| parent | 6730806715132d5a3efe49d1516b429beb1800d0 (diff) | |
adapt signature of requestDelayedItemInfo() slot to recent changes
svn path=/trunk/KDE/kdebase/apps/; revision=685421
Diffstat (limited to 'src/infosidebarpage.cpp')
| -rw-r--r-- | src/infosidebarpage.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/infosidebarpage.cpp b/src/infosidebarpage.cpp index fb422ec89..d1f88524d 100644 --- a/src/infosidebarpage.cpp +++ b/src/infosidebarpage.cpp @@ -117,13 +117,16 @@ void InfoSidebarPage::setSelection(const KFileItemList& selection) m_timer->start(TimerDelay); } -void InfoSidebarPage::requestDelayedItemInfo(const KUrl& url) +void InfoSidebarPage::requestDelayedItemInfo(const KFileItem& item) { cancelRequest(); - if (!url.isEmpty() && (selection().size() <= 1)) { - m_urlCandidate = url; - m_timer->start(TimerDelay); + if (!item.isNull() && (selection().size() <= 1)) { + const KUrl url = item.url(); + if (!url.isEmpty()) { + m_urlCandidate = url; + m_timer->start(TimerDelay); + } } } |
