From 83f2397774dc110f7e006f450777088810908b12 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 25 Jan 2008 19:16:55 +0000 Subject: Backport for #156375: don't add a place having an empty name svn path=/branches/KDE/4.0/kdebase/apps/; revision=766407 --- src/dolphincontextmenu.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/dolphincontextmenu.h') diff --git a/src/dolphincontextmenu.h b/src/dolphincontextmenu.h index c90999252..a7cd9c01d 100644 --- a/src/dolphincontextmenu.h +++ b/src/dolphincontextmenu.h @@ -103,6 +103,11 @@ private: */ void addShowMenubarAction(KMenu* menu); + /** + * Returns a name for adding the URL \a url to the Places panel. + */ + QString placesName(const KUrl& url) const; + private: struct Entry { -- cgit v1.3