mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: remove redundant ifdef in profile code
Remove a not-mobile #ifdef inside a not-mobile #ifdef. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
064d861e97
commit
5a34bdccb5
1 changed files with 0 additions and 2 deletions
|
@ -1505,11 +1505,9 @@ void ProfileWidget2::addSetpointChange(int seconds)
|
|||
|
||||
void ProfileWidget2::splitDive(int seconds)
|
||||
{
|
||||
#ifndef SUBSURFACE_MOBILE
|
||||
if (!d)
|
||||
return;
|
||||
Command::splitDives(mutable_dive(), duration_t{ seconds });
|
||||
#endif
|
||||
}
|
||||
|
||||
void ProfileWidget2::changeGas(int tank, int seconds)
|
||||
|
|
Loading…
Add table
Reference in a new issue