aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-mobile-main.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-01-09 23:54:14 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-01-10 15:57:39 -0800
commit0a92823af64c76b165ddd2c1bddadd01a5fc6b56 (patch)
treeabf25ea6ec428314b9b180e16df1d5ce32f74799 /subsurface-mobile-main.cpp
parent235146a95f5d79c54cf3b68b490c1cb0fb146b5f (diff)
downloadsubsurface-0a92823af64c76b165ddd2c1bddadd01a5fc6b56.tar.gz
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 <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'subsurface-mobile-main.cpp')
-rw-r--r--subsurface-mobile-main.cpp5
1 files changed, 0 insertions, 5 deletions
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;
-}