┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontextmenu.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-01-25 19:16:55 +0000
committerPeter Penz <[email protected]>2008-01-25 19:16:55 +0000
commit83f2397774dc110f7e006f450777088810908b12 (patch)
treef0d583771a16f7d6bc1844b7093ae0cddb3ffb81 /src/dolphincontextmenu.h
parent2209fd6d98f7ecd40c093030c40c22491f2a9383 (diff)
Backport for #156375: don't add a place having an empty name
svn path=/branches/KDE/4.0/kdebase/apps/; revision=766407
Diffstat (limited to 'src/dolphincontextmenu.h')
-rw-r--r--src/dolphincontextmenu.h5
1 files changed, 5 insertions, 0 deletions
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
{