Skip to content

Commit

Permalink
Remove the method SamplePlugin::getWidget
Browse files Browse the repository at this point in the history
  • Loading branch information
rkhaotix committed Jun 2, 2023
1 parent 57370c6 commit c545d7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sampleplugin/src/sampleplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ QAction *SamplePlugin::getAction(ActionId act_id) const
return toolbar_action;
}

QWidget *SamplePlugin::getWidget(WidgetId) const
QToolButton *SamplePlugin::getToolButton() const
{
return dbexplorer_tb;
}
2 changes: 1 addition & 1 deletion sampleplugin/src/sampleplugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class SamplePlugin: public QObject, public PgModelerPlugin {
QString getPluginDescription() const override;

QAction *getAction(ActionId act_id) const override;
QWidget *getWidget(WidgetId) const override;
QToolButton *getToolButton() const override;

public slots:
void showPluginInfo(void) const override;
Expand Down

0 comments on commit c545d7d

Please sign in to comment.