diff options
author | Boris Barbulovski <bbarbulovski@gmail.com> | 2014-02-13 22:48:07 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-13 22:05:05 -0800 |
commit | 51220f26ef712c31a9a7213807787829d4bb4818 (patch) | |
tree | 2a39b00818a4ac23947bb024ae4ff29ea74f8ba5 /qt-gui.cpp | |
parent | 933d44083e2f0787c46228ce03f924e8f4f84414 (diff) | |
download | subsurface-51220f26ef712c31a9a7213807787829d4bb4818.tar.gz |
Add recent files to main menu.
Add(up to four) recent files to File main menu.
Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-gui.cpp')
-rw-r--r-- | qt-gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-gui.cpp b/qt-gui.cpp index 314e41906..170b1c444 100644 --- a/qt-gui.cpp +++ b/qt-gui.cpp @@ -151,6 +151,7 @@ void init_ui(int *argcp, char ***argvp) s.endGroup(); window = new MainWindow(); + window->loadRecentFiles(&s); window->show(); if (existing_filename && existing_filename[0] != '\0') window->setTitle(MWTF_FILENAME); |