Skip to content

Commit ba2b3de

Browse files
committedDec 31, 2015
fix warnings
1 parent d641ff6 commit ba2b3de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/plugins/grass/qgsgrassmapcalc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ void QgsGrassMapcalc::saveAs()
10101010

10111011
// Ask for file name
10121012
QString name;
1013-
while ( 1 )
1013+
for ( ;; )
10141014
{
10151015
bool ok;
10161016
name = QInputDialog::getText( this, tr( "New mapcalc" ),

‎src/plugins/grass/qgsgrassmodule.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ QPixmap QgsGrassModule::pixmap( QString path, int height )
356356

357357
// Create vector of available pictures
358358
int cnt = 1;
359-
while ( 1 )
359+
for ( ;; )
360360
{
361361
// SVG
362362
QString fpath = path + "." + QString::number( cnt ) + ".svg";

0 commit comments

Comments
 (0)
Please sign in to comment.