diff --git a/src/filewidgets/kfileplacesmodel.cpp b/src/filewidgets/kfileplacesmodel.cpp --- a/src/filewidgets/kfileplacesmodel.cpp +++ b/src/filewidgets/kfileplacesmodel.cpp @@ -108,6 +108,9 @@ QStringLiteral("Home"), I18N_NOOP2("KFile System Bookmarks", "Home"), QUrl::fromLocalFile(QDir::homePath()), QStringLiteral("user-home")); KFilePlacesItem::createSystemBookmark(d->bookmarkManager, + QStringLiteral("Recent Documents"), I18N_NOOP2("KFile System Bookmarks", "Recent Documents"), + QUrl(QStringLiteral("recentdocuments:/")), QStringLiteral("document-open-recent")); + KFilePlacesItem::createSystemBookmark(d->bookmarkManager, QStringLiteral("Network"), I18N_NOOP2("KFile System Bookmarks", "Network"), QUrl(QStringLiteral("remote:/")), QStringLiteral("network-workgroup")); #if defined(_WIN32_WCE) diff --git a/src/panels/places/placesitemmodel.cpp b/src/panels/places/placesitemmodel.cpp --- a/src/panels/places/placesitemmodel.cpp +++ b/src/panels/places/placesitemmodel.cpp @@ -890,6 +890,9 @@ // i18nc call is done after reading the bookmark. The reason why the i18nc call is not // done here is because otherwise switching the language would not result in retranslating the // bookmarks. + m_systemBookmarks.append(SystemBookmarkData(QUrl(QStringLiteral("recentdocuments:/")), + QStringLiteral("document-open-recent"), + I18N_NOOP2("KFile System Bookmarks", "Recent Documents"))); m_systemBookmarks.append(SystemBookmarkData(QUrl::fromLocalFile(QDir::homePath()), QStringLiteral("user-home"), I18N_NOOP2("KFile System Bookmarks", "Home")));