forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user