diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2017-11-30 12:00:01 +0100 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-11-30 16:52:22 +0100 |
commit | 1208bc8428baae28ebf24a3cdf00bf4b0c030fd7 (patch) | |
tree | e44bc02a7fef7bb9ea29f41b47684d0328e38984 /desktop-widgets/mainwindow.cpp | |
parent | 8b9c63b2d8e3bbeab4d2488be2676b63baf8fb3e (diff) | |
download | subsurface-1208bc8428baae28ebf24a3cdf00bf4b0c030fd7.tar.gz |
Remove "#if !defined(SUBSURFACE_MOBILE)" in mainwindow.cpp
The file mainwindow.cpp is only compiled for desktop versions, so the
condition is redundant.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/mainwindow.cpp')
-rw-r--r-- | desktop-widgets/mainwindow.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index d6329738a..3c331b5fb 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -1439,13 +1439,11 @@ void MainWindow::readSettings() // now make sure that the cloud menu items are enabled IFF cloud account is verified enableDisableCloudActions(); -#if !defined(SUBSURFACE_MOBILE) loadRecentFiles(); if (firstRun) { checkSurvey(); firstRun = false; } -#endif } #undef TOOLBOX_PREF_BUTTON |