Kaydet (Commit) cfc2f191 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

Improve checking for emptiness (while)

üst 94f11455
...@@ -138,7 +138,7 @@ void PPDImportDialog::Import() ...@@ -138,7 +138,7 @@ void PPDImportDialog::Import()
int i = 0; int i = 0;
aProgress.setRange( 0, aFiles.size() ); aProgress.setRange( 0, aFiles.size() );
while( aFiles.size() ) while( !aFiles.empty() )
{ {
aProgress.setValue( ++i ); aProgress.setValue( ++i );
aProgress.setFilename( aFiles.front() ); aProgress.setFilename( aFiles.front() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment