diff options
| author | Marcus Tillmanns <marcus.tillmanns@qt.io> | 2022-05-12 14:15:55 +0200 |
|---|---|---|
| committer | Marcus Tillmanns <marcus.tillmanns@qt.io> | 2022-05-13 10:34:05 +0200 |
| commit | 40e3c1c2b10401120d7c20d29d0d4a1ec00157a8 (patch) | |
| tree | 6086f38753d1287e05221e76b9702715ea820b7a /examples/sql/sqlbrowser/qsqlconnectiondialog.cpp | |
| parent | 11791e2a50417661679f84aeae21ce959cab638f (diff) | |
Fix removal of trailing slash
The fsevents implementation of QFileSystemWatcher on Mac OS X tries to
remove trailing slashes from the paths when calling addPaths(). If the
user tries to watch "/", the path is changed to "".
The fix checks whether the path is longer than 1 before removing
trailing slashes.
Change-Id: Iafb10e449c4f3bd600b02edbe7c549911db05048
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples/sql/sqlbrowser/qsqlconnectiondialog.cpp')
0 files changed, 0 insertions, 0 deletions
