Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Dec 31, 2015
1 parent d641ff6 commit ba2b3de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plugins/grass/qgsgrassmapcalc.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ void QgsGrassMapcalc::saveAs()


// Ask for file name // Ask for file name
QString name; QString name;
while ( 1 ) for ( ;; )
{ {
bool ok; bool ok;
name = QInputDialog::getText( this, tr( "New mapcalc" ), name = QInputDialog::getText( this, tr( "New mapcalc" ),
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/grass/qgsgrassmodule.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ QPixmap QgsGrassModule::pixmap( QString path, int height )


// Create vector of available pictures // Create vector of available pictures
int cnt = 1; int cnt = 1;
while ( 1 ) for ( ;; )
{ {
// SVG // SVG
QString fpath = path + "." + QString::number( cnt ) + ".svg"; QString fpath = path + "." + QString::number( cnt ) + ".svg";
Expand Down

0 comments on commit ba2b3de

Please sign in to comment.