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:
Berthold Stoeger 2021-06-04 16:29:42 +02:00 committed by Dirk Hohndel
parent 064d861e97
commit 5a34bdccb5

View file

@ -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)