From 1208bc8428baae28ebf24a3cdf00bf4b0c030fd7 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Thu, 30 Nov 2017 12:00:01 +0100 Subject: 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 --- desktop-widgets/mainwindow.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'desktop-widgets/mainwindow.cpp') 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 -- cgit v1.2.3-70-g09d2