summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Joshua Wambua <joshua@megvel.me.ke>2014-02-28 12:04:00 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-28 07:51:41 -0800
commit9cd3d61c112f81156c22d44c1ab632fcfabc8a14 (patch)
tree293dc1feda18e53786cef070e1cd2b245d5a5521 /qt-ui/mainwindow.h
parent76e6420f6b3503b76bd3eec00ab0e53d6ea17a20 (diff)
downloadsubsurface-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.h1
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);