diff base/RecentFiles.h @ 209:6576a208e8e7

* Add Open Location... * Add support for URLs in Recent Files * Do the right thing with the last location for file open dialogs when opening a URL (i.e. don't change it to the temporary file directory)
author Chris Cannam
date Wed, 10 Jan 2007 12:27:55 +0000
parents 702fc936e6a6
children 3b8008d09541
line wrap: on
line diff
--- a/base/RecentFiles.h	Mon Jan 08 17:04:35 2007 +0000
+++ b/base/RecentFiles.h	Wed Jan 10 12:27:55 2007 +0000
@@ -53,8 +53,9 @@
     void add(QString name);
     
     /**
-     * Add a name that should be treated as a file path and
-     * canonicalised appropriately.
+     * Add a name that is known to be either a file path or a URL.  If
+     * it looks like a URL, add it literally; otherwise treat it as a
+     * file path and canonicalise it appropriately.
      */
     void addFile(QString name);