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>
This commit is contained in:
Berthold Stoeger 2021-01-09 23:54:14 +01:00 committed by Dirk Hohndel
parent 235146a95f
commit 0a92823af6
3 changed files with 2 additions and 20 deletions

View file

@ -104,8 +104,3 @@ void set_non_bt_addresses()
connectionListModel.addAddress("FTDI");
#endif
}
bool haveFilesOnCommandLine()
{
return false;
}