Merge pull request #20117 from hyarion/ps-move-func-to-cpp

Sketcher: Move getStandardButtons to cpp file
This commit is contained in:
Chris Hennes
2025-03-11 20:55:40 +00:00
committed by GitHub
2 changed files with 5 additions and 5 deletions

View File

@@ -146,6 +146,10 @@ bool TaskDlgEditSketch::reject()
return true;
}
QDialogButtonBox::StandardButtons TaskDlgEditSketch::getStandardButtons() const
{
return QDialogButtonBox::Close;
}
void TaskDlgEditSketch::autoClosedOnClosedView()
{

View File

@@ -69,11 +69,7 @@ public:
}
void autoClosedOnClosedView() override;
/// returns for Close and Help button
QDialogButtonBox::StandardButtons getStandardButtons() const override
{
return QDialogButtonBox::Close;
}
QDialogButtonBox::StandardButtons getStandardButtons() const override;
/** @brief Function used to register a slot to be triggered when the tool widget is changed. */
template<typename F>