Merge pull request #20117 from hyarion/ps-move-func-to-cpp
Sketcher: Move getStandardButtons to cpp file
This commit is contained in:
@@ -146,6 +146,10 @@ bool TaskDlgEditSketch::reject()
|
||||
return true;
|
||||
}
|
||||
|
||||
QDialogButtonBox::StandardButtons TaskDlgEditSketch::getStandardButtons() const
|
||||
{
|
||||
return QDialogButtonBox::Close;
|
||||
}
|
||||
|
||||
void TaskDlgEditSketch::autoClosedOnClosedView()
|
||||
{
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user