From b28237309a5fd3af527d71fe0d4dfada7a11107c Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Thu, 14 Nov 2013 13:42:26 -0200 Subject: Good deal of code Cleanup. Rewrite of the way we handle the last used directory for the loading / saving of files. we didn't reuse anything for the code, and that's error prone and also dumb =p. Reworked that so we have a nice method to help us out on that. lastUsedDir and updateLastUsedDir Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-ui/mainwindow.h') diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h index a7dafb48b..c0d5f245b 100644 --- a/qt-ui/mainwindow.h +++ b/qt-ui/mainwindow.h @@ -126,6 +126,8 @@ private: void file_save_as(); void beginChangeState(CurrentState s); void saveSplitterSizes(); + QString lastUsedDir(); + void updateLastUsedDir(const QString& s); }; MainWindow *mainWindow(); -- cgit v1.2.3-70-g09d2