Fix compilation warning (clang and gcc)

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5301 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2018-04-05 18:49:28 +00:00
parent 5bfa58ad55
commit fa547a34c8
17 changed files with 35 additions and 45 deletions

View File

@@ -123,7 +123,11 @@ void ElementsPanel::panelContentChange() {
@param project Projet a inserer dans le panel d'elements
@return Le QTreeWidgetItem insere le plus haut
*/
QTreeWidgetItem *ElementsPanel::addProject(QETProject *project) {
QTreeWidgetItem *ElementsPanel::addProject(QETProject *project, QTreeWidgetItem *parent_item, PanelOptions options)
{
Q_UNUSED(parent_item)
Q_UNUSED(options)
bool first_add = (first_reload_ || !projects_to_display_.contains(project));
// create the QTreeWidgetItem representing the project