Skip to content
Snippets Groups Projects
Commit 3a4707da authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

rm unused actionList

parent 0ee05cc9
No related branches found
No related tags found
1 merge request!2318simplify plot/canvas
...@@ -87,11 +87,6 @@ Fit1DFrame::Fit1DFrame(JobItem* job_item) ...@@ -87,11 +87,6 @@ Fit1DFrame::Fit1DFrame(JobItem* job_item)
m_scale_editor->setJobOrDatafileItem(job_item); m_scale_editor->setJobOrDatafileItem(job_item);
} }
QList<QAction*> Fit1DFrame::actionList()
{
return {m_reset_view_action, gActions->toggle_properties_panel};
}
void Fit1DFrame::onResetViewAction() void Fit1DFrame::onResetViewAction()
{ {
ASSERT(simuData1DItem() && diffData1DItem() && realData1DItem()); ASSERT(simuData1DItem() && diffData1DItem() && realData1DItem());
......
...@@ -33,8 +33,6 @@ class Fit1DFrame : public DataAccessWidget { ...@@ -33,8 +33,6 @@ class Fit1DFrame : public DataAccessWidget {
public: public:
explicit Fit1DFrame(JobItem* item); explicit Fit1DFrame(JobItem* item);
QList<QAction*> actionList() override;
private: private:
void onResetViewAction(); void onResetViewAction();
void connectItems(); void connectItems();
......
...@@ -92,11 +92,6 @@ Fit2DFrame::Fit2DFrame(JobItem* job_item) ...@@ -92,11 +92,6 @@ Fit2DFrame::Fit2DFrame(JobItem* job_item)
m_scale_editor->setJobOrDatafileItem(job_item); m_scale_editor->setJobOrDatafileItem(job_item);
} }
QList<QAction*> Fit2DFrame::actionList()
{
return {m_reset_view_action, gActions->toggle_properties_panel};
}
void Fit2DFrame::onResetViewAction() void Fit2DFrame::onResetViewAction()
{ {
ASSERT(simuData2DItem() && diffData2DItem() && realData2DItem()); ASSERT(simuData2DItem() && diffData2DItem() && realData2DItem());
......
...@@ -31,8 +31,6 @@ class Fit2DFrame : public DataAccessWidget { ...@@ -31,8 +31,6 @@ class Fit2DFrame : public DataAccessWidget {
public: public:
explicit Fit2DFrame(JobItem* item); explicit Fit2DFrame(JobItem* item);
QList<QAction*> actionList() override;
private: private:
void onResetViewAction(); void onResetViewAction();
void connectItems(); void connectItems();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment