Alessandro Pasotti bcb48f2bdc Fixes two issues with the browser refresh
1. endless loop when a sqlite-based layer is opened, and
   wal+shm files are created. This triggers a loop because
   the directoryChanged signal is emitted again and again ...
   This was the real blocker.

2. when a new files appears in a directory
   the directoryChanged is emitted and OGR/GDAL may fail
   to open the file because the file copy was not yet
   finished.

This commit fixes 1 but the fix for 2 is only a best effort using
a 100 ms timer: I could not find a definitive solution to this issue,
a file could be legitimately opened in streaming mode and it will
always triggers an error, there is apparently no way to get
the QFileSystemWatcher emit a signal when new files are closed
flusehd and not when they are just created.
2017-08-09 08:59:17 +02:00
..
2017-06-28 10:45:51 +02:00
2017-05-24 07:24:31 +02:00
2017-06-09 10:26:01 +10:00
2017-06-28 10:45:51 +02:00
2017-06-26 12:18:34 +10:00
2017-04-30 16:52:05 +02:00
2017-08-07 17:45:33 +10:00
2017-06-12 07:28:36 +10:00
2017-04-30 16:52:05 +02:00
2017-04-26 10:25:50 +02:00
2017-04-30 16:52:05 +02:00
2017-04-30 16:52:05 +02:00
2017-04-30 16:52:05 +02:00
2017-07-03 08:49:50 +02:00
2017-05-23 10:35:12 +02:00
2017-05-23 10:35:12 +02:00
2017-04-30 16:52:05 +02:00
2017-04-30 16:52:05 +02:00
2017-04-24 09:32:39 +02:00
2017-05-15 21:55:10 +02:00
2017-05-15 21:55:10 +02:00
2017-07-24 13:44:25 +02:00
2017-06-26 12:18:34 +10:00
2017-04-30 16:52:05 +02:00
2017-05-15 21:55:10 +02:00
2017-04-30 16:52:05 +02:00
2017-05-01 17:41:14 +02:00
2017-06-09 10:16:08 +02:00
2017-04-30 16:52:05 +02:00
2017-05-04 08:26:31 +02:00
2017-05-04 08:26:31 +02:00
2017-05-04 08:26:31 +02:00
2017-05-23 10:35:12 +02:00
2017-06-09 10:16:08 +02:00
2017-05-15 21:55:10 +02:00
2017-06-09 10:16:08 +02:00
2017-04-30 16:52:05 +02:00
2017-05-15 21:55:10 +02:00
2017-05-23 10:35:12 +02:00
2017-04-26 10:25:50 +02:00
2017-05-19 15:35:47 +02:00
2017-05-18 09:41:16 +02:00
2017-05-18 09:41:16 +02:00
2017-05-18 09:41:16 +02:00
2017-05-18 09:41:16 +02:00
2017-06-14 07:37:31 +02:00
2017-08-09 08:59:17 +02:00
2017-05-18 09:41:16 +02:00
2017-05-23 10:35:12 +02:00
2017-05-18 09:41:16 +02:00
2017-05-18 09:41:16 +02:00
2017-05-22 10:12:08 +02:00
2017-05-22 10:12:08 +02:00
2017-06-13 18:31:00 +02:00
2017-04-30 16:52:05 +02:00
2017-05-18 21:34:21 +02:00
2017-05-18 21:34:21 +02:00
2017-05-18 21:34:21 +02:00
2017-05-18 21:34:21 +02:00
2017-05-18 21:34:21 +02:00
2017-05-22 10:12:08 +02:00
2017-05-01 17:42:06 +02:00
2017-06-09 10:16:08 +02:00
2017-05-22 10:12:08 +02:00
2017-05-22 10:12:08 +02:00
2017-07-24 13:44:25 +02:00
2017-05-22 10:12:08 +02:00
2017-05-22 10:12:08 +02:00
2017-05-22 10:12:08 +02:00
2017-07-17 13:24:14 +10:00
2017-05-22 10:12:08 +02:00
2017-05-22 10:12:08 +02:00
2017-05-22 10:12:08 +02:00
2017-05-23 10:35:12 +02:00
2017-05-23 10:35:12 +02:00
2017-05-23 10:35:12 +02:00
2017-07-31 11:09:15 +01:00
2017-06-28 10:45:51 +02:00