Skip to content

Commit 47f5c52

Browse files
committedAug 16, 2012
fix warnings
1 parent 75dc85b commit 47f5c52

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed
 

‎src/gui/qgsrasterlayersaveasdialog.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,23 +61,23 @@ class GUI_EXPORT QgsRasterLayerSaveAsDialog: public QDialog, private Ui::QgsRast
6161
void on_mCurrentExtentButton_clicked();
6262
void on_mOriginalExtentButton_clicked();
6363
void on_mFormatComboBox_currentIndexChanged( const QString& text );
64-
void on_mResolutionRadioButton_toggled( bool checked ) { toggleResolutionSize(); }
64+
void on_mResolutionRadioButton_toggled( bool ) { toggleResolutionSize(); }
6565
void on_mOriginalResolutionPushButton_clicked() { setOriginalResolution(); }
66-
void on_mXResolutionLineEdit_textEdited( const QString & text ) { mResolutionState = UserResolution; recalcSize(); }
67-
void on_mYResolutionLineEdit_textEdited( const QString & text ) { mResolutionState = UserResolution; recalcSize(); }
66+
void on_mXResolutionLineEdit_textEdited( const QString & ) { mResolutionState = UserResolution; recalcSize(); }
67+
void on_mYResolutionLineEdit_textEdited( const QString & ) { mResolutionState = UserResolution; recalcSize(); }
6868

6969
void on_mOriginalSizePushButton_clicked() { setOriginalSize(); }
70-
void on_mColumnsLineEdit_textEdited( const QString & text ) { mResolutionState = UserResolution; recalcResolution(); }
71-
void on_mRowsLineEdit_textEdited( const QString & text ) { mResolutionState = UserResolution; recalcResolution(); }
70+
void on_mColumnsLineEdit_textEdited( const QString & ) { mResolutionState = UserResolution; recalcResolution(); }
71+
void on_mRowsLineEdit_textEdited( const QString & ) { mResolutionState = UserResolution; recalcResolution(); }
7272

73-
void on_mXMinLineEdit_textEdited( const QString & text ) { mExtentState = UserExtent; extentChanged(); }
74-
void on_mXMaxLineEdit_textEdited( const QString & text ) { mExtentState = UserExtent; extentChanged(); }
75-
void on_mYMinLineEdit_textEdited( const QString & text ) { mExtentState = UserExtent; extentChanged(); }
76-
void on_mYMaxLineEdit_textEdited( const QString & text ) { mExtentState = UserExtent; extentChanged(); }
73+
void on_mXMinLineEdit_textEdited( const QString & ) { mExtentState = UserExtent; extentChanged(); }
74+
void on_mXMaxLineEdit_textEdited( const QString & ) { mExtentState = UserExtent; extentChanged(); }
75+
void on_mYMinLineEdit_textEdited( const QString & ) { mExtentState = UserExtent; extentChanged(); }
76+
void on_mYMaxLineEdit_textEdited( const QString & ) { mExtentState = UserExtent; extentChanged(); }
7777

7878
void on_mChangeCrsPushButton_clicked();
7979

80-
void on_mCrsComboBox_currentIndexChanged( int index ) { crsChanged(); }
80+
void on_mCrsComboBox_currentIndexChanged( int ) { crsChanged(); }
8181

8282
private:
8383
QgsRasterDataProvider* mDataProvider;

‎src/providers/wms/qgswmsprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ QImage *QgsWmsProvider::draw( QgsRectangle const &viewExtent, int pixelWidth, i
499499

500500
if ( !retrieveServerCapabilities() )
501501
{
502-
return false;
502+
return 0;
503503
}
504504

505505
// Can we reuse the previously cached image?

0 commit comments

Comments
 (0)
Please sign in to comment.