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
@ -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…
x
Reference in New Issue
Block a user