Skip to content

Commit

Permalink
[BACKPORT] fix #3974
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jul 20, 2011
1 parent 6c26773 commit 73066cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
5 changes: 4 additions & 1 deletion src/providers/wms/qgswmssourceselect.cpp
Expand Up @@ -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"
Expand Down Expand Up @@ -48,6 +47,7 @@
#include <QPicture>
#include <QSettings>
#include <QUrl>
#include <QValidator>

#include <QNetworkRequest>
#include <QNetworkReply>
Expand All @@ -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 )
Expand Down
6 changes: 0 additions & 6 deletions src/ui/qgswmssourceselectbase.ui
Expand Up @@ -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">
Expand All @@ -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>
Expand Down

0 comments on commit 73066cf

Please sign in to comment.