SVN commit 860264 by chehrlic: fix KRecentDocument::add() for windows the same way it's done in kate
CCMAIL: [email protected] M +2 -2 krecentdocument.cpp --- trunk/KDE/kdelibs/kio/kfile/krecentdocument.cpp #860263:860264 @@ -82,8 +82,8 @@ void KRecentDocument::add(const KUrl& url, const QString& desktopEntryName) { - if ( url.isLocalFile() && !KGlobal::dirs()->relativeLocation("tmp", url.path()).startsWith('/')) - return; + if ( url.isLocalFile() && KGlobal::dirs()->relativeLocation( "tmp", url.path() ) != url.path() ) + return; // inside tmp resource, do not save QString openStr = url.url(); openStr.replace( QRegExp("\\$"), "$$" ); // Desktop files with type "Link" are $-variable expanded _______________________________________________ Kde-windows mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-windows
