Opening recent files wasn't opening with right encoding (Windows)

Confusion between native and internal path representation (i.e.
backslashes). File names should always be "portable" internally.

Reviewed-by: Robert Loehning
This commit is contained in:
con
2010-10-19 11:07:20 +02:00
parent 8f647ca9ca
commit 3a82e22982
3 changed files with 38 additions and 27 deletions

View File

@@ -74,8 +74,7 @@ public:
// recent files
void addToRecentFiles(const QString &fileName);
QStringList recentFiles() const;
void saveRecentFiles();
void saveSettings();
// current file
void setCurrentFile(const QString &filePath);
@@ -133,6 +132,7 @@ private slots:
void syncWithEditor(Core::IContext *context);
private:
void readSettings();
void dump();
void addFileInfo(IFile *file);
void removeFileInfo(IFile *file);