Skip to content
Permalink
Browse files

fix warnings

  • Loading branch information
jef-n committed Aug 16, 2012
1 parent 75dc85b commit 47f5c522a383d3136756c48cce437efdcda61c8b
Showing with 11 additions and 11 deletions.
  1. +10 −10 src/gui/qgsrasterlayersaveasdialog.h
  2. +1 −1 src/providers/wms/qgswmsprovider.cpp
@@ -61,23 +61,23 @@ class GUI_EXPORT QgsRasterLayerSaveAsDialog: public QDialog, private Ui::QgsRast
void on_mCurrentExtentButton_clicked();
void on_mOriginalExtentButton_clicked();
void on_mFormatComboBox_currentIndexChanged( const QString& text );
void on_mResolutionRadioButton_toggled( bool checked ) { toggleResolutionSize(); }
void on_mResolutionRadioButton_toggled( bool ) { toggleResolutionSize(); }
void on_mOriginalResolutionPushButton_clicked() { setOriginalResolution(); }
void on_mXResolutionLineEdit_textEdited( const QString & text ) { mResolutionState = UserResolution; recalcSize(); }
void on_mYResolutionLineEdit_textEdited( const QString & text ) { mResolutionState = UserResolution; recalcSize(); }
void on_mXResolutionLineEdit_textEdited( const QString & ) { mResolutionState = UserResolution; recalcSize(); }
void on_mYResolutionLineEdit_textEdited( const QString & ) { mResolutionState = UserResolution; recalcSize(); }

void on_mOriginalSizePushButton_clicked() { setOriginalSize(); }
void on_mColumnsLineEdit_textEdited( const QString & text ) { mResolutionState = UserResolution; recalcResolution(); }
void on_mRowsLineEdit_textEdited( const QString & text ) { mResolutionState = UserResolution; recalcResolution(); }
void on_mColumnsLineEdit_textEdited( const QString & ) { mResolutionState = UserResolution; recalcResolution(); }
void on_mRowsLineEdit_textEdited( const QString & ) { mResolutionState = UserResolution; recalcResolution(); }

void on_mXMinLineEdit_textEdited( const QString & text ) { mExtentState = UserExtent; extentChanged(); }
void on_mXMaxLineEdit_textEdited( const QString & text ) { mExtentState = UserExtent; extentChanged(); }
void on_mYMinLineEdit_textEdited( const QString & text ) { mExtentState = UserExtent; extentChanged(); }
void on_mYMaxLineEdit_textEdited( const QString & text ) { mExtentState = UserExtent; extentChanged(); }
void on_mXMinLineEdit_textEdited( const QString & ) { mExtentState = UserExtent; extentChanged(); }
void on_mXMaxLineEdit_textEdited( const QString & ) { mExtentState = UserExtent; extentChanged(); }
void on_mYMinLineEdit_textEdited( const QString & ) { mExtentState = UserExtent; extentChanged(); }
void on_mYMaxLineEdit_textEdited( const QString & ) { mExtentState = UserExtent; extentChanged(); }

void on_mChangeCrsPushButton_clicked();

void on_mCrsComboBox_currentIndexChanged( int index ) { crsChanged(); }
void on_mCrsComboBox_currentIndexChanged( int ) { crsChanged(); }

private:
QgsRasterDataProvider* mDataProvider;
@@ -499,7 +499,7 @@ QImage *QgsWmsProvider::draw( QgsRectangle const &viewExtent, int pixelWidth, i

if ( !retrieveServerCapabilities() )
{
return false;
return 0;
}

// Can we reuse the previously cached image?

0 comments on commit 47f5c52

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