Skip to content
Permalink
Browse files

fix build with Qt 4.6 and some warnings

  • Loading branch information
jef-n committed May 23, 2011
1 parent f723398 commit a155c2cf0c2f2bc9f005eed97af9cbde46a1ac24
Showing with 6 additions and 4 deletions.
  1. +4 −2 src/core/qgsdataitem.cpp
  2. +1 −1 src/core/qgsdataitem.h
  3. +1 −1 src/providers/wms/qgswmssourceselect.cpp
@@ -263,8 +263,10 @@ bool QgsDataItem::equal( const QgsDataItem *other )
// ---------------------------------------------------------------------

QgsLayerItem::QgsLayerItem( QgsDataItem* parent, QString name, QString path, QString uri, LayerType layerType, QString providerKey )
: QgsDataItem( Layer, parent, name, path ), mUri( uri ), mLayerType( layerType ),
mProviderKey( providerKey )
: QgsDataItem( Layer, parent, name, path )
, mProviderKey( providerKey )
, mUri( uri )
, mLayerType( layerType )
{
switch ( layerType )
{
@@ -183,7 +183,7 @@ class CORE_EXPORT QgsDataCollectionItem : public QgsDataItem
{
Q_OBJECT
public:
QgsDataCollectionItem( QgsDataItem* parent, QString name, QString path = 0 );
QgsDataCollectionItem( QgsDataItem* parent, QString name, QString path = QString::null );
~QgsDataCollectionItem();

void setPopulated() { mPopulated = true; }
@@ -55,9 +55,9 @@

QgsWMSSourceSelect::QgsWMSSourceSelect( QWidget * parent, Qt::WFlags fl, bool managerMode, bool embededMode )
: QDialog( parent, fl )
, mCurrentTileset( 0 )
, mManagerMode ( managerMode )
, mEmbededMode( embededMode)
, mCurrentTileset( 0 )
{
setupUi( this );

0 comments on commit a155c2c

Please sign in to comment.
You can’t perform that action at this time.