From b5ec106e5f612042987397a5a5b6683fdabaf793 Mon Sep 17 00:00:00 2001 From: leseb Date: Fri, 30 Aug 2002 18:10:11 +0000 Subject: Try to handle RAM storage for documents --- (limited to 'library/applnk.cpp') diff --git a/library/applnk.cpp b/library/applnk.cpp index 5185b5f..778ccab 100644 --- a/library/applnk.cpp +++ b/library/applnk.cpp @@ -340,7 +340,7 @@ QString AppLnk::linkFile() const if ( type().contains('/') ) { StorageInfo storage; const FileSystem *fs = storage.fileSystemOf( that->mFile ); - if ( fs && fs->isRemovable() ) { + if ( fs && ( fs->isRemovable() || fs->disk() == "/dev/mtdblock6" || fs->disk() == "tmpfs" ) ) { that->mLinkFile = fs->path(); } else that->mLinkFile = getenv( "HOME" ); -- cgit v0.9.0.2