Remove failed parses from recent files menu

This patch will remove all files that fail to parse from the recent
files menu.

Signed-off-by: Joshua Wambua <joshua@megvel.me.ke>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Joshua Wambua 2014-02-28 12:04:00 +03:00 committed by Dirk Hohndel
parent 76e6420f6b
commit 9cd3d61c11
2 changed files with 50 additions and 6 deletions

View file

@ -64,6 +64,7 @@ public:
MainTab *information();
void loadRecentFiles(QSettings *s);
void addRecentFile(const QStringList &newFiles);
void removeRecentFile(QStringList failedFiles);
DiveListView *dive_list();
GlobeGPS *globe();
void showError(QString message);