diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2020-04-27 13:44:29 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@kdab.com> | 2020-04-27 18:11:13 +0000 |
| commit | bfde4f4a962ca56a7f2d7d63e788e79aa64cfb1f (patch) | |
| tree | d6e58bb951a338cc323522c01b3f250feb459d62 /src/widgets/doc/snippets/mdiareasnippets.cpp | |
| parent | f58c8fb4537c5d751da9d2c86ca0f61ad0adbbb2 (diff) | |
torrent example: fix stripping of file extension
Due to QChar being convertible from almost any integral type,
the old code actually called QString::remove(QChar).
Fix by using QString::chop() instead.
Change-Id: I345b018aa137ecff608a130e69ade5d37ef0805c
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/mdiareasnippets.cpp')
0 files changed, 0 insertions, 0 deletions
