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

rm unused GUI::Util::Layout::placeHolder

parent bff2359b
No related branches found
No related tags found
1 merge request!2181rm many unused fcts, detected with xunused
......@@ -115,10 +115,3 @@ void GUI::Util::Layout::clearGridLayout(QGridLayout* layout, bool deleteWidgets)
for (int i_row = 0; i_row < layout->rowCount(); ++i_row)
GUI::Util::Layout::removeRow(layout, i_row, deleteWidgets);
}
QWidget* GUI::Util::Layout::placeHolder()
{
auto* result = new QWidget;
result->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
return result;
}
......@@ -36,9 +36,6 @@ void removeColumn(QGridLayout* layout, int column, bool deleteWidgets = true);
//! Clear layout completely.
void clearGridLayout(QGridLayout* layout, bool deleteWidgets = true);
//! Returns empty widget to occupy place in layout.
QWidget* placeHolder();
} // namespace GUI::Util::Layout
#endif // BORNAGAIN_GUI_VIEW_TOOL_LAYOUTUTIL_H
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