diff options
author | Joshua Wambua <joshua@megvel.me.ke> | 2014-02-28 12:04:00 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-28 07:51:41 -0800 |
commit | 9cd3d61c112f81156c22d44c1ab632fcfabc8a14 (patch) | |
tree | 293dc1feda18e53786cef070e1cd2b245d5a5521 /qt-ui/mainwindow.h | |
parent | 76e6420f6b3503b76bd3eec00ab0e53d6ea17a20 (diff) | |
download | subsurface-9cd3d61c112f81156c22d44c1ab632fcfabc8a14.tar.gz |
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>
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r-- | qt-ui/mainwindow.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h index aae4e54b2..1db3d5ad3 100644 --- a/qt-ui/mainwindow.h +++ b/qt-ui/mainwindow.h @@ -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); |