mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
8b9c63b2d8
commit
1208bc8428
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue