mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
235146a95f
commit
0a92823af6
3 changed files with 2 additions and 20 deletions
|
|
@ -104,8 +104,3 @@ void set_non_bt_addresses()
|
|||
connectionListModel.addAddress("FTDI");
|
||||
#endif
|
||||
}
|
||||
|
||||
bool haveFilesOnCommandLine()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue