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
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user