diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2017-11-30 17:44:32 +0100 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-12-01 03:39:10 +0100 |
commit | 4296ca11a6a663dd61ec917efd6f50016709b25a (patch) | |
tree | f45b834ac730295ee5a0b9265c16a32e42ddeca4 /desktop-widgets/mainwindow.ui | |
parent | 1208bc8428baae28ebf24a3cdf00bf4b0c030fd7 (diff) | |
download | subsurface-4296ca11a6a663dd61ec917efd6f50016709b25a.tar.gz |
Dynamically generate recent files actions
Instead of using four recent files actions defined in mainwindow.ui,
generate these actions dynamically depending on the macro NUM_RECENT_FILES.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/mainwindow.ui')
-rw-r--r-- | desktop-widgets/mainwindow.ui | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/desktop-widgets/mainwindow.ui b/desktop-widgets/mainwindow.ui index 67adccb23..8c8de5507 100644 --- a/desktop-widgets/mainwindow.ui +++ b/desktop-widgets/mainwindow.ui @@ -75,11 +75,6 @@ <addaction name="separator"/> <addaction name="actionHash_images"/> <addaction name="actionConfigure_Dive_Computer"/> - <addaction name="actionRecent1"/> - <addaction name="actionRecent2"/> - <addaction name="actionRecent3"/> - <addaction name="actionRecent4"/> - <addaction name="separator"/> <addaction name="actionQuit"/> </widget> <widget class="QMenu" name="menuLog"> @@ -421,26 +416,6 @@ <string notr="true">F11</string> </property> </action> - <action name="actionRecent1"> - <property name="visible"> - <bool>false</bool> - </property> - </action> - <action name="actionRecent2"> - <property name="visible"> - <bool>false</bool> - </property> - </action> - <action name="actionRecent3"> - <property name="visible"> - <bool>false</bool> - </property> - </action> - <action name="actionRecent4"> - <property name="visible"> - <bool>false</bool> - </property> - </action> <action name="action_Check_for_Updates"> <property name="text"> <string>&Check for updates</string> |