Skip to content

Commit

Permalink
Leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Oct 26, 2020
1 parent 6d24676 commit 8924596
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
2 changes: 0 additions & 2 deletions python/gui/auto_generated/layertree/qgslayertreeview.sip.in
Expand Up @@ -29,8 +29,6 @@ hidden layers and text filtering.
QgsLayerTreeProxyModel( QgsLayerTreeModel *treeModel, QObject *parent );
%Docstring
Constructs QgsLayerTreeProxyModel with source model ``treeModel`` and a ``parent``
@param treeModel
@param parent
%End

void setFilterText( const QString &filterText = QString() );
Expand Down
2 changes: 1 addition & 1 deletion src/core/layertree/qgslayertreemodel.cpp
Expand Up @@ -34,7 +34,7 @@
#include "qgssymbollayerutils.h"
#include "qgsvectorlayer.h"
#include "qgslayerdefinition.h"
#include "qgsmessagelog.h"


QgsLayerTreeModel::QgsLayerTreeModel( QgsLayerTree *rootNode, QObject *parent )
: QAbstractItemModel( parent )
Expand Down
2 changes: 0 additions & 2 deletions src/gui/layertree/qgslayertreeview.h
Expand Up @@ -51,8 +51,6 @@ class GUI_EXPORT QgsLayerTreeProxyModel : public QSortFilterProxyModel

/**
* Constructs QgsLayerTreeProxyModel with source model \a treeModel and a \a parent
* @param treeModel
* @param parent
*/
QgsLayerTreeProxyModel( QgsLayerTreeModel *treeModel, QObject *parent );

Expand Down
15 changes: 15 additions & 0 deletions tests/src/gui/testqgslayertreeview.cpp
@@ -0,0 +1,15 @@
/***************************************************************************
testqgslayertreeview.cpp - %{Cpp:License:ClassName}
---------------------
begin : 26.10.2020
copyright : (C) 2020 by Alessandro Pasotti
email : elpaso at itopen dot it
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/

0 comments on commit 8924596

Please sign in to comment.