Renamed refresh to refreshView to avoid base class overrides
This commit is contained in:
@@ -183,14 +183,14 @@ UserView::UserView(Wt::WContainerWidget* parent)
|
|||||||
{
|
{
|
||||||
wApp->internalPathChanged().connect(std::bind([=]
|
wApp->internalPathChanged().connect(std::bind([=]
|
||||||
{
|
{
|
||||||
refresh();
|
refreshView();
|
||||||
}));
|
}));
|
||||||
|
|
||||||
refresh();
|
refreshView();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
UserView::refresh()
|
UserView::refreshView()
|
||||||
{
|
{
|
||||||
if (!wApp->internalPathMatches("/admin/user"))
|
if (!wApp->internalPathMatches("/admin/user"))
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ class UserView : public Wt::WContainerWidget
|
|||||||
UserView(Wt::WContainerWidget *parent = 0);
|
UserView(Wt::WContainerWidget *parent = 0);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void refresh();
|
void refreshView();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace UserInterface
|
} // namespace UserInterface
|
||||||
|
|||||||
@@ -47,14 +47,14 @@ UsersView::UsersView(Wt::WContainerWidget *parent)
|
|||||||
|
|
||||||
wApp->internalPathChanged().connect(std::bind([=]
|
wApp->internalPathChanged().connect(std::bind([=]
|
||||||
{
|
{
|
||||||
refresh();
|
refreshView();
|
||||||
}));
|
}));
|
||||||
|
|
||||||
refresh();
|
refreshView();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
UsersView::refresh()
|
UsersView::refreshView()
|
||||||
{
|
{
|
||||||
if (!wApp->internalPathMatches("/admin/users"))
|
if (!wApp->internalPathMatches("/admin/users"))
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ class UsersView : public Wt::WContainerWidget
|
|||||||
UsersView(Wt::WContainerWidget *parent = 0);
|
UsersView(Wt::WContainerWidget *parent = 0);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void refresh();
|
void refreshView();
|
||||||
|
|
||||||
Wt::WContainerWidget* _container;
|
Wt::WContainerWidget* _container;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user