Move getStandardButtons to cpp file

This commit is contained in:
PaddleStroke
2025-03-03 11:36:13 +01:00
committed by Benjamin Nauck
parent 25c71dd99d
commit 0bb47bc0d8
2 changed files with 5 additions and 4 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

@@ -70,10 +70,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>