TD: PR6497 move return statement to new line

This commit is contained in:
Chris Hennes
2022-03-29 13:26:01 -05:00
parent cb21ac7bf8
commit c44ccc0ff2
10 changed files with 34 additions and 17 deletions

View File

@@ -318,7 +318,8 @@ void TaskCosVertex::enableTaskButtons(bool b)
bool TaskCosVertex::accept()
{
Gui::Document* doc = Gui::Application::Instance->getDocument(m_basePage->getDocument());
if (!doc) return false;
if (!doc)
return false;
removeTracker();
double x = ui->dsbX->value().getValue();
@@ -338,7 +339,8 @@ bool TaskCosVertex::accept()
bool TaskCosVertex::reject()
{
Gui::Document* doc = Gui::Application::Instance->getDocument(m_basePage->getDocument());
if (!doc) return false;
if (!doc)
return false;
removeTracker();
m_trackerMode = QGTracker::TrackerMode::None;