File tree 2 files changed +11
-11
lines changed
2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ void QgsDelimitedTextPluginGui::updateFieldLists()
213
213
// put a few more lines into the sample box
214
214
int counter = 0 ;
215
215
line = QgsDelimitedTextPluginGui::readLine ( stream );
216
- while ( not line.isEmpty () && ( counter < 20 ) )
216
+ while ( ! line.isEmpty () && ( counter < 20 ) )
217
217
{
218
218
txtSample->insertPlainText ( line + " \n " );
219
219
counter++;
@@ -273,15 +273,15 @@ QString QgsDelimitedTextPluginGui::readLine( QTextStream & stream )
273
273
// Strip leading newlines
274
274
275
275
c = stream.read ( 1 );
276
- if ( c == NULL or c.size () == 0 )
276
+ if ( c == NULL || c.size () == 0 )
277
277
{
278
278
// Reach end of file
279
279
return buffer;
280
280
}
281
- while ( c == (char *)" \r " or c == (char *)" \n " )
281
+ while ( c == (char *)" \r " || c == (char *)" \n " )
282
282
{
283
283
c = stream.read ( 1 );
284
- if ( c == NULL or c.size () == 0 )
284
+ if ( c == NULL || c.size () == 0 )
285
285
{
286
286
// Reach end of file
287
287
return buffer;
@@ -292,18 +292,18 @@ QString QgsDelimitedTextPluginGui::readLine( QTextStream & stream )
292
292
buffer.append ( c );
293
293
294
294
c = stream.read ( 1 );
295
- if ( c == NULL or c.size () == 0 )
295
+ if ( c == NULL || c.size () == 0 )
296
296
{
297
297
// Reach end of file
298
298
return buffer;
299
299
}
300
300
301
- while ( not ( c == (char *)" \r " or c == (char *)" \n " ) )
301
+ while ( ! ( c == (char *)" \r " || c == (char *)" \n " ) )
302
302
{
303
303
304
304
buffer.append ( c );
305
305
c = stream.read ( 1 );
306
- if ( c == NULL or c.size () == 0 )
306
+ if ( c == NULL || c.size () == 0 )
307
307
{
308
308
// Reach end of file
309
309
return buffer;
Original file line number Diff line number Diff line change 21
21
22
22
MapCoordsDialog::MapCoordsDialog ()
23
23
{
24
- this -> setWindowFlags (!Qt::Dialog);
25
- this -> setWindowFlags (Qt::WindowSystemMenuHint);
26
- this -> setWindowFlags (Qt::WindowMinimizeButtonHint);
27
- this -> setWindowFlags (Qt::WindowMaximizeButtonHint);
24
+ // setWindowFlags(!Qt::Dialog);
25
+ setWindowFlags (Qt::WindowSystemMenuHint);
26
+ setWindowFlags (Qt::WindowMinimizeButtonHint);
27
+ setWindowFlags (Qt::WindowMaximizeButtonHint);
28
28
}
29
29
30
30
You can’t perform that action at this time.
0 commit comments