Commit d5575904 authored by LE BRETON Come's avatar LE BRETON Come

Removes save unused methods.

parent 524f2db2
......@@ -53,11 +53,6 @@ dtkWidgetsMenuItemDIY::~dtkWidgetsMenuItemDIY(void)
delete d;
}
void dtkWidgetsMenuItemDIY::save(void)
{
// d->source->setParent(nullptr);
}
QWidget *dtkWidgetsMenuItemDIY::widget(void)
{
return d->widget;
......@@ -87,11 +82,6 @@ dtkWidgetsMenuItemWorkspace::~dtkWidgetsMenuItemWorkspace(void)
delete d;
}
void dtkWidgetsMenuItemWorkspace::save(void)
{
// d->widget->setParent(nullptr);
}
QWidget *dtkWidgetsMenuItemWorkspace::widget(void)
{
return d->widget;
......@@ -123,9 +113,7 @@ dtkWidgetsMenuItemTheme::~dtkWidgetsMenuItemTheme(void)
{
delete d;
}
void dtkWidgetsMenuItemTheme::save(void)
{
}
QWidget *dtkWidgetsMenuItemTheme::widget(void)
{
if (!d->widget) {
......
......@@ -28,9 +28,6 @@ public:
dtkWidgetsMenuItemDIY(const QString& title, QWidget *widget);
~dtkWidgetsMenuItemDIY(void);
public:
void save(void) override;
public:
QWidget *widget(void) override;
......@@ -50,9 +47,6 @@ public:
dtkWidgetsMenuItemWorkspace(const QString& title, dtkWidgetsWorkspaceStackBar *bar);
~dtkWidgetsMenuItemWorkspace(void);
public:
void save(void) override;
public:
QWidget *widget(void) override;
......@@ -72,9 +66,6 @@ public:
dtkWidgetsMenuItemTheme(const QString& theme);
~dtkWidgetsMenuItemTheme(void);
public:
void save(void) override;
public:
QWidget *widget(void) override;
......
......@@ -92,9 +92,6 @@ public:
public:
virtual QWidget *widget(void) = 0;
public:
virtual void save(void) = 0;
signals:
void clicked(void);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment