Skip to content
Permalink
Browse files

[BACKPORT] fix #3974

  • Loading branch information
jef-n committed Jul 20, 2011
1 parent 6c26773 commit 73066cfea8f2684a82169dfce83dc0268c0831b4
Showing with 4 additions and 7 deletions.
  1. +4 −1 src/providers/wms/qgswmssourceselect.cpp
  2. +0 −6 src/ui/qgswmssourceselectbase.ui
@@ -20,7 +20,6 @@

#include "../providers/wms/qgswmsprovider.h"
#include "qgis.h" // GEO_EPSG_CRS_ID
//#include "qgisapp.h" //for getThemeIcon
#include "qgscontexthelp.h"
#include "qgscoordinatereferencesystem.h"
#include "qgsgenericprojectionselector.h"
@@ -48,6 +47,7 @@
#include <QPicture>
#include <QSettings>
#include <QUrl>
#include <QValidator>

#include <QNetworkRequest>
#include <QNetworkReply>
@@ -69,6 +69,9 @@ QgsWMSSourceSelect::QgsWMSSourceSelect( QWidget * parent, Qt::WFlags fl, bool ma
mAddButton->setToolTip( tr( "Add selected layers to map" ) );
mAddButton->setEnabled( false );

mTileWidth->setValidator( new QIntValidator( 0, 9999, this ) );
mTileHeight->setValidator( new QIntValidator( 0, 9999, this ) );

mImageFormatGroup = new QButtonGroup;

if ( !mManagerMode )
@@ -242,9 +242,6 @@
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="mTileWidth">
<property name="inputMask">
<string>9999; </string>
</property>
</widget>
</item>
<item row="1" column="0">
@@ -256,9 +253,6 @@
</item>
<item row="1" column="2">
<widget class="QLineEdit" name="mTileHeight">
<property name="inputMask">
<string>9999; </string>
</property>
</widget>
</item>
</layout>

0 comments on commit 73066cf

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