Move getStandardButtons to cpp file
This commit is contained in:
committed by
Benjamin Nauck
parent
25c71dd99d
commit
0bb47bc0d8
@@ -146,6 +146,10 @@ bool TaskDlgEditSketch::reject()
|
||||
return true;
|
||||
}
|
||||
|
||||
QDialogButtonBox::StandardButtons TaskDlgEditSketch::getStandardButtons() const
|
||||
{
|
||||
return QDialogButtonBox::Close;
|
||||
}
|
||||
|
||||
void TaskDlgEditSketch::autoClosedOnClosedView()
|
||||
{
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user