From 0a92823af64c76b165ddd2c1bddadd01a5fc6b56 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sat, 9 Jan 2021 23:54:14 +0100 Subject: profile: remove firstCall static variable The profile had a static variable which prevented animation when first showing the profile. It appears more logical to don't show the animation when switching from the empty state. This removes global state, as a function static variable exists only once, even if there are multiple objects. Signed-off-by: Berthold Stoeger --- subsurface-mobile-main.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'subsurface-mobile-main.cpp') diff --git a/subsurface-mobile-main.cpp b/subsurface-mobile-main.cpp index 21b0dfe46..7ceebcc5f 100644 --- a/subsurface-mobile-main.cpp +++ b/subsurface-mobile-main.cpp @@ -104,8 +104,3 @@ void set_non_bt_addresses() connectionListModel.addAddress("FTDI"); #endif } - -bool haveFilesOnCommandLine() -{ - return false; -} -- cgit v1.2.3-70-g09d2