diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-11-01 17:08:12 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-11-07 09:30:55 +0100 |
commit | 76fcd436c1af8a60b82105f24ecdcf7689612cea (patch) | |
tree | 3a0bdfac24210329a7822814b7ca23356519e201 /src/plugins/platforms/ios/qiosintegration.mm | |
parent | fe1075332cf0066d47432a98e3a4b68386d6523a (diff) |
Rename QMacInternalPasteboardMime to QMacMime
We want to make it public, and there is no need for "pasteboard" since
it also coveres drag'n'drop. Add a default constructor that defaults to
supporting both clipboard and drag'n'drop, and clean up the code by
using that constructor where applicable.
Historical note: the converter interface was called QMacMime up to
Qt 4.2, when due to macOS changes it had to be replaced by
QMacPasteboardMime.
Task-number: QTBUG-93632
Change-Id: Id9712300039375aa6394598b104827e6f5d6c948
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/plugins/platforms/ios/qiosintegration.mm')
-rw-r--r-- | src/plugins/platforms/ios/qiosintegration.mm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/ios/qiosintegration.mm b/src/plugins/platforms/ios/qiosintegration.mm index 244b182f65..c4c3942d2c 100644 --- a/src/plugins/platforms/ios/qiosintegration.mm +++ b/src/plugins/platforms/ios/qiosintegration.mm @@ -106,6 +106,7 @@ QIOSIntegration::~QIOSIntegration() delete m_clipboard; m_clipboard = 0; #endif + QMacMimeRegistry::destroyMimeTypes(); delete m_inputContext; |