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>
This commit is contained in:
Berthold Stoeger 2017-11-30 12:00:01 +01:00 committed by Lubomir I. Ivanov
parent 8b9c63b2d8
commit 1208bc8428

View file

@ -1439,13 +1439,11 @@ void MainWindow::readSettings()
// now make sure that the cloud menu items are enabled IFF cloud account is verified // now make sure that the cloud menu items are enabled IFF cloud account is verified
enableDisableCloudActions(); enableDisableCloudActions();
#if !defined(SUBSURFACE_MOBILE)
loadRecentFiles(); loadRecentFiles();
if (firstRun) { if (firstRun) {
checkSurvey(); checkSurvey();
firstRun = false; firstRun = false;
} }
#endif
} }
#undef TOOLBOX_PREF_BUTTON #undef TOOLBOX_PREF_BUTTON