From 22fcc2c4c5c337a2d0ba387f1d6ac5d38428cd2f Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 25 Jan 2008 19:14:12 +0000 Subject: don't add a place having an empty name BUG: 156375 svn path=/trunk/KDE/kdebase/apps/; revision=766406 --- 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